Lines Matching refs:sk

194 	struct sock		*sk;  member
274 struct ip6_flowlabel *fl6_sock_lookup(struct sock *sk, __be32 label);
278 void fl6_free_socklist(struct sock *sk);
279 int ipv6_flowlabel_opt(struct sock *sk, char __user *optval, int optlen);
280 int ipv6_flowlabel_opt_get(struct sock *sk, struct in6_flowlabel_req *freq,
293 int icmpv6_push_pending_frames(struct sock *sk, struct flowi6 *fl6,
296 int ip6_ra_control(struct sock *sk, int sel);
300 struct ipv6_txoptions *ipv6_dup_options(struct sock *sk,
302 struct ipv6_txoptions *ipv6_renew_options(struct sock *sk,
310 bool ipv6_opt_accepted(const struct sock *sk, const struct sk_buff *skb,
782 static inline void ip6_set_txhash(struct sock *sk) { } in ip6_set_txhash() argument
830 int ip6_rcv_finish(struct net *net, struct sock *sk, struct sk_buff *skb);
835 int ip6_xmit(const struct sock *sk, struct sk_buff *skb, struct flowi6 *fl6,
840 int ip6_append_data(struct sock *sk,
847 int ip6_push_pending_frames(struct sock *sk);
849 void ip6_flush_pending_frames(struct sock *sk);
853 struct sk_buff *__ip6_make_skb(struct sock *sk, struct sk_buff_head *queue,
856 struct sk_buff *ip6_make_skb(struct sock *sk,
864 static inline struct sk_buff *ip6_finish_skb(struct sock *sk) in ip6_finish_skb() argument
866 return __ip6_make_skb(sk, &sk->sk_write_queue, &inet_sk(sk)->cork, in ip6_finish_skb()
867 &inet6_sk(sk)->cork); in ip6_finish_skb()
870 int ip6_dst_lookup(struct net *net, struct sock *sk, struct dst_entry **dst,
872 struct dst_entry *ip6_dst_lookup_flow(const struct sock *sk, struct flowi6 *fl6,
874 struct dst_entry *ip6_sk_dst_lookup_flow(struct sock *sk, struct flowi6 *fl6,
883 int ip6_output(struct net *net, struct sock *sk, struct sk_buff *skb);
888 int __ip6_local_out(struct net *net, struct sock *sk, struct sk_buff *skb);
889 int ip6_local_out(struct net *net, struct sock *sk, struct sk_buff *skb);
925 int ipv6_setsockopt(struct sock *sk, int level, int optname,
927 int ipv6_getsockopt(struct sock *sk, int level, int optname,
929 int compat_ipv6_setsockopt(struct sock *sk, int level, int optname,
931 int compat_ipv6_getsockopt(struct sock *sk, int level, int optname,
934 int ip6_datagram_connect(struct sock *sk, struct sockaddr *addr, int addr_len);
935 int ip6_datagram_connect_v6_only(struct sock *sk, struct sockaddr *addr,
938 int ipv6_recv_error(struct sock *sk, struct msghdr *msg, int len,
940 int ipv6_recv_rxpmtu(struct sock *sk, struct msghdr *msg, int len,
942 void ipv6_icmp_error(struct sock *sk, struct sk_buff *skb, int err, __be16 port,
944 void ipv6_local_error(struct sock *sk, int err, struct flowi6 *fl6, u32 info);
945 void ipv6_local_rxpmtu(struct sock *sk, struct flowi6 *fl6, u32 mtu);
954 struct sock *sk);
965 int ip6_mc_source(int add, int omode, struct sock *sk,
967 int ip6_mc_msfilter(struct sock *sk, struct group_filter *gsf);
968 int ip6_mc_msfget(struct sock *sk, struct group_filter *gsf,
1003 int ipv6_sock_mc_join(struct sock *sk, int ifindex,
1005 int ipv6_sock_mc_drop(struct sock *sk, int ifindex,