Lines Matching refs:sk
194 struct sock *sk; member
272 struct ip6_flowlabel *fl6_sock_lookup(struct sock *sk, __be32 label);
276 void fl6_free_socklist(struct sock *sk);
277 int ipv6_flowlabel_opt(struct sock *sk, char __user *optval, int optlen);
278 int ipv6_flowlabel_opt_get(struct sock *sk, struct in6_flowlabel_req *freq,
291 int icmpv6_push_pending_frames(struct sock *sk, struct flowi6 *fl6,
294 int ip6_ra_control(struct sock *sk, int sel);
298 struct ipv6_txoptions *ipv6_dup_options(struct sock *sk,
300 struct ipv6_txoptions *ipv6_renew_options(struct sock *sk,
308 bool ipv6_opt_accepted(const struct sock *sk, const struct sk_buff *skb,
713 static inline void ip6_set_txhash(struct sock *sk) in ip6_set_txhash() argument
715 struct inet_sock *inet = inet_sk(sk); in ip6_set_txhash()
716 struct ipv6_pinfo *np = inet6_sk(sk); in ip6_set_txhash()
720 keys.dst = (__force __be32)ipv6_addr_hash(&sk->sk_v6_daddr); in ip6_set_txhash()
724 sk->sk_txhash = flow_hash_from_keys(&keys); in ip6_set_txhash()
747 static inline void ip6_set_txhash(struct sock *sk) { } in ip6_set_txhash() argument
790 int ip6_rcv_finish(struct sock *sk, struct sk_buff *skb);
795 int ip6_xmit(struct sock *sk, struct sk_buff *skb, struct flowi6 *fl6,
800 int ip6_append_data(struct sock *sk,
807 int ip6_push_pending_frames(struct sock *sk);
809 void ip6_flush_pending_frames(struct sock *sk);
813 struct sk_buff *__ip6_make_skb(struct sock *sk, struct sk_buff_head *queue,
816 struct sk_buff *ip6_make_skb(struct sock *sk,
824 static inline struct sk_buff *ip6_finish_skb(struct sock *sk) in ip6_finish_skb() argument
826 return __ip6_make_skb(sk, &sk->sk_write_queue, &inet_sk(sk)->cork, in ip6_finish_skb()
827 &inet6_sk(sk)->cork); in ip6_finish_skb()
830 int ip6_dst_lookup(struct sock *sk, struct dst_entry **dst, struct flowi6 *fl6);
831 struct dst_entry *ip6_dst_lookup_flow(struct sock *sk, struct flowi6 *fl6,
833 struct dst_entry *ip6_sk_dst_lookup_flow(struct sock *sk, struct flowi6 *fl6,
842 int ip6_output(struct sock *sk, struct sk_buff *skb);
848 int ip6_local_out_sk(struct sock *sk, struct sk_buff *skb);
885 int ipv6_setsockopt(struct sock *sk, int level, int optname,
887 int ipv6_getsockopt(struct sock *sk, int level, int optname,
889 int compat_ipv6_setsockopt(struct sock *sk, int level, int optname,
891 int compat_ipv6_getsockopt(struct sock *sk, int level, int optname,
894 int ip6_datagram_connect(struct sock *sk, struct sockaddr *addr, int addr_len);
895 int ip6_datagram_connect_v6_only(struct sock *sk, struct sockaddr *addr,
898 int ipv6_recv_error(struct sock *sk, struct msghdr *msg, int len,
900 int ipv6_recv_rxpmtu(struct sock *sk, struct msghdr *msg, int len,
902 void ipv6_icmp_error(struct sock *sk, struct sk_buff *skb, int err, __be16 port,
904 void ipv6_local_error(struct sock *sk, int err, struct flowi6 *fl6, u32 info);
905 void ipv6_local_rxpmtu(struct sock *sk, struct flowi6 *fl6, u32 mtu);
914 struct sock *sk);
925 int ip6_mc_source(int add, int omode, struct sock *sk,
927 int ip6_mc_msfilter(struct sock *sk, struct group_filter *gsf);
928 int ip6_mc_msfget(struct sock *sk, struct group_filter *gsf,
963 int ipv6_sock_mc_join(struct sock *sk, int ifindex,
965 int ipv6_sock_mc_drop(struct sock *sk, int ifindex,