Lines Matching defs:sock

135 			       struct sock *sk, unsigned int log)
137 struct sock *sk2;
170 struct sock *sk)
172 struct sock *sk2;
199 static int udp_reuseport_add_sock(struct sock *sk, struct udp_hslot *hslot)
203 struct sock *sk2;
230 int udp_lib_get_port(struct sock *sk, unsigned short snum,
347 int udp_v4_get_port(struct sock *sk, unsigned short snum)
359 static int compute_score(struct sock *sk, struct net *net,
415 static struct sock *lookup_reuseport(struct net *net, struct sock *sk,
420 struct sock *reuse_sk = NULL;
432 static struct sock *udp4_lib_lookup2(struct net *net,
439 struct sock *sk, *result;
471 static struct sock *udp4_lookup_run_bpf(struct net *net,
477 struct sock *sk, *reuse_sk;
497 struct sock *__udp4_lib_lookup(struct net *net, __be32 saddr,
504 struct sock *result, *sk;
546 static inline struct sock *__udp4_lib_lookup_skb(struct sk_buff *skb,
557 struct sock *udp4_lib_lookup_skb(struct sk_buff *skb,
572 struct sock *udp4_lib_lookup(struct net *net, __be32 saddr, __be16 sport,
575 struct sock *sk;
586 static inline bool __udp_is_mcast_sock(struct net *net, struct sock *sk,
665 static struct sock *__udp4_lib_err_encap(struct net *net,
672 struct sock *sk;
687 int (*lookup)(struct sock *sk, struct sk_buff *skb);
723 struct sock *sk;
813 void udp_flush_pending_frames(struct sock *sk)
900 struct sock *sk = skb->sk;
990 int udp_push_pending_frames(struct sock *sk)
1024 int udp_cmsg_send(struct sock *sk, struct msghdr *msg, u16 *gso_size)
1048 int udp_sendmsg(struct sock *sk, struct msghdr *msg, size_t len)
1328 int udp_sendpage(struct sock *sk, struct page *page, int offset,
1444 static void udp_rmem_release(struct sock *sk, int size, int partial,
1491 void udp_skb_destructor(struct sock *sk, struct sk_buff *skb)
1499 static void udp_skb_dtor_locked(struct sock *sk, struct sk_buff *skb)
1530 int __udp_enqueue_schedule_skb(struct sock *sk, struct sk_buff *skb)
1604 void udp_destruct_common(struct sock *sk)
1620 static void udp_destruct_sock(struct sock *sk)
1626 int udp_init_sock(struct sock *sk)
1633 void skb_consume_udp(struct sock *sk, struct sk_buff *skb, int len)
1654 static struct sk_buff *__first_packet_length(struct sock *sk,
1685 static int first_packet_length(struct sock *sk)
1713 int udp_ioctl(struct sock *sk, int cmd, unsigned long arg)
1738 struct sk_buff *__skb_recv_udp(struct sock *sk, unsigned int flags,
1814 int udp_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, int noblock,
1923 int udp_pre_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len)
1936 int __udp_disconnect(struct sock *sk, int flags)
1964 int udp_disconnect(struct sock *sk, int flags)
1973 void udp_lib_unhash(struct sock *sk)
2004 void udp_lib_rehash(struct sock *sk, u16 newhash)
2042 void udp_v4_rehash(struct sock *sk)
2050 static int __udp_queue_rcv_skb(struct sock *sk, struct sk_buff *skb)
2087 static int udp_queue_rcv_one_skb(struct sock *sk, struct sk_buff *skb)
2100 int (*encap_rcv)(struct sock *sk, struct sk_buff *skb);
2190 static int udp_queue_rcv_skb(struct sock *sk, struct sk_buff *skb)
2213 bool udp_sk_rx_dst_set(struct sock *sk, struct dst_entry *dst)
2237 struct sock *sk, *first = NULL;
2346 static int udp_unicast_rcv_skb(struct sock *sk, struct sk_buff *skb,
2371 struct sock *sk;
2470 static struct sock *__udp4_lib_mcast_demux_lookup(struct net *net,
2475 struct sock *sk, *result;
2501 static struct sock *__udp4_lib_demux_lookup(struct net *net,
2512 struct sock *sk;
2529 struct sock *sk = NULL;
2596 void udp_destroy_sock(struct sock *sk)
2607 void (*encap_destroy)(struct sock *sk);
2620 int udp_lib_setsockopt(struct sock *sk, int level, int optname,
2622 int (*push_pending_frames)(struct sock *))
2741 int udp_setsockopt(struct sock *sk, int level, int optname, sockptr_t optval,
2751 int udp_lib_getsockopt(struct sock *sk, int level, int optname,
2812 int udp_getsockopt(struct sock *sk, int level, int optname,
2823 * @sock: - socket
2833 __poll_t udp_poll(struct file *file, struct socket *sock, poll_table *wait)
2835 __poll_t mask = datagram_poll(file, sock, wait);
2836 struct sock *sk = sock->sk;
2851 int udp_abort(struct sock *sk, int err)
2905 static struct sock *udp_get_first(struct seq_file *seq, int start)
2907 struct sock *sk;
2939 static struct sock *udp_get_next(struct seq_file *seq, struct sock *sk)
2964 static struct sock *udp_get_idx(struct seq_file *seq, loff_t pos)
2966 struct sock *sk = udp_get_first(seq, 0);
2985 struct sock *sk;
3013 static void udp4_format_sock(struct sock *sp, struct seq_file *f,
3076 struct sock *sk = v;