Lines Matching defs:sock
61 static void udpv6_destruct_sock(struct sock *sk)
67 int udpv6_init_sock(struct sock *sk)
99 int udp_v6_get_port(struct sock *sk, unsigned short snum)
111 void udp_v6_rehash(struct sock *sk)
120 static int compute_score(struct sock *sk, struct net *net,
166 static struct sock *udp6_lib_lookup2(struct net *net,
172 struct sock *sk, *result;
211 struct sock *__udp6_lib_lookup(struct net *net,
220 struct sock *result, *sk;
264 static struct sock *__udp6_lib_lookup_skb(struct sk_buff *skb,
275 struct sock *udp6_lib_lookup_skb(const struct sk_buff *skb,
293 struct sock *udp6_lib_lookup(struct net *net, const struct in6_addr *saddr, __be16 sport,
296 struct sock *sk;
321 int udpv6_recvmsg(struct sock *sk, struct msghdr *msg, size_t len,
502 static struct sock *__udp6_lib_err_encap(struct net *net,
506 struct sock *sk,
511 int (*lookup)(struct sock *sk, struct sk_buff *skb);
567 struct sock *sk;
636 static int __udpv6_queue_rcv_skb(struct sock *sk, struct sk_buff *skb)
680 static int udpv6_queue_rcv_one_skb(struct sock *sk, struct sk_buff *skb)
694 int (*encap_rcv)(struct sock *sk, struct sk_buff *skb);
772 static int udpv6_queue_rcv_skb(struct sock *sk, struct sk_buff *skb)
794 static bool __udp_v6_is_mcast_sock(struct net *net, const struct sock *sk,
836 struct sock *sk, *first = NULL;
901 static void udp6_sk_rx_dst_set(struct sock *sk, struct dst_entry *dst)
913 static int udp6_unicast_rcv_skb(struct sock *sk, struct sk_buff *skb,
936 struct sock *sk;
1054 static struct sock *__udp6_lib_demux_lookup(struct net *net,
1064 struct sock *sk;
1085 struct sock *sk;
1130 static void udp_v6_flush_pending_frames(struct sock *sk)
1143 static int udpv6_pre_connect(struct sock *sk, struct sockaddr *uaddr,
1173 static void udp6_hwcsum_outgoing(struct sock *sk, struct sk_buff *skb,
1217 struct sock *sk = skb->sk;
1299 static int udp_v6_push_pending_frames(struct sock *sk)
1320 int udpv6_sendmsg(struct sock *sk, struct msghdr *msg, size_t len)
1646 static void udpv6_splice_eof(struct socket *sock)
1648 struct sock *sk = sock->sk;
1660 void udpv6_destroy_sock(struct sock *sk)
1672 void (*encap_destroy)(struct sock *sk);
1687 int udpv6_setsockopt(struct sock *sk, int level, int optname, sockptr_t optval,
1697 int udpv6_getsockopt(struct sock *sk, int level, int optname,
1719 const struct inet_sock *inet = inet_sk((const struct sock *)v);