Lines Matching refs:sk
67 struct dst_entry *ip6_route_output_flags(struct net *net, const struct sock *sk,
71 const struct sock *sk, in ip6_route_output() argument
74 return ip6_route_output_flags(net, sk, fl6, 0); in ip6_route_output()
120 void ip6_sk_update_pmtu(struct sk_buff *skb, struct sock *sk, __be32 mtu);
124 void ip6_sk_redirect(struct sk_buff *skb, struct sock *sk);
144 static inline void ip6_dst_store(struct sock *sk, struct dst_entry *dst, in ip6_dst_store() argument
148 struct ipv6_pinfo *np = inet6_sk(sk); in ip6_dst_store()
151 sk_setup_caps(sk, dst); in ip6_dst_store()
175 int ip6_fragment(struct net *net, struct sock *sk, struct sk_buff *skb,
180 struct ipv6_pinfo *np = skb->sk && !dev_recursion_level() ? in ip6_skb_dst_mtu()
181 inet6_sk(skb->sk) : NULL; in ip6_skb_dst_mtu()
187 static inline bool ip6_sk_accept_pmtu(const struct sock *sk) in ip6_sk_accept_pmtu() argument
189 return inet6_sk(sk)->pmtudisc != IPV6_PMTUDISC_INTERFACE && in ip6_sk_accept_pmtu()
190 inet6_sk(sk)->pmtudisc != IPV6_PMTUDISC_OMIT; in ip6_sk_accept_pmtu()
193 static inline bool ip6_sk_ignore_df(const struct sock *sk) in ip6_sk_ignore_df() argument
195 return inet6_sk(sk)->pmtudisc < IPV6_PMTUDISC_DO || in ip6_sk_ignore_df()
196 inet6_sk(sk)->pmtudisc == IPV6_PMTUDISC_OMIT; in ip6_sk_ignore_df()