Lines Matching defs:sk

138 			       struct sock *sk,  in udp_lib_lport_inuse()
171 struct sock *sk, in udp_lib_lport_inuse2()
208 int udp_lib_get_port(struct sock *sk, unsigned short snum, in udp_lib_get_port()
327 int udp_v4_get_port(struct sock *sk, unsigned short snum) in udp_v4_get_port()
339 static inline int compute_score(struct sock *sk, struct net *net, in compute_score()
385 static inline int compute_score2(struct sock *sk, struct net *net, in compute_score2()
446 struct sock *sk, *result; in udp4_lib_lookup2() local
499 struct sock *sk, *result; in __udp4_lib_lookup() local
594 static inline bool __udp_is_mcast_sock(struct net *net, struct sock *sk, in __udp_is_mcast_sock()
632 struct sock *sk; in __udp4_lib_err() local
704 void udp_flush_pending_frames(struct sock *sk) in udp_flush_pending_frames()
801 struct sock *sk = skb->sk; in udp_send_skb() local
858 int udp_push_pending_frames(struct sock *sk) in udp_push_pending_frames()
879 int udp_sendmsg(struct sock *sk, struct msghdr *msg, size_t len) in udp_sendmsg()
1134 int udp_sendpage(struct sock *sk, struct page *page, int offset, in udp_sendpage()
1194 static unsigned int first_packet_length(struct sock *sk) in first_packet_length()
1230 int udp_ioctl(struct sock *sk, int cmd, unsigned long arg) in udp_ioctl()
1268 int udp_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, int noblock, in udp_recvmsg()
1368 int udp_disconnect(struct sock *sk, int flags) in udp_disconnect()
1392 void udp_lib_unhash(struct sock *sk) in udp_lib_unhash()
1421 void udp_lib_rehash(struct sock *sk, u16 newhash) in udp_lib_rehash()
1453 static void udp_v4_rehash(struct sock *sk) in udp_v4_rehash()
1461 static int __udp_queue_rcv_skb(struct sock *sk, struct sk_buff *skb) in __udp_queue_rcv_skb()
1505 int udp_queue_rcv_skb(struct sock *sk, struct sk_buff *skb) in udp_queue_rcv_skb()
1625 struct sock *sk; in flush_stack() local
1652 static void udp_sk_rx_dst_set(struct sock *sk, struct dst_entry *dst) in udp_sk_rx_dst_set()
1672 struct sock *sk, *stack[256 / sizeof(struct sock *)]; in __udp4_lib_mcast_deliver() local
1758 struct sock *sk; in __udp4_lib_rcv() local
1880 struct sock *sk, *result; in __udp4_lib_mcast_demux_lookup() local
1936 struct sock *sk, *result; in __udp4_lib_demux_lookup() local
1974 struct sock *sk; in udp_v4_early_demux() local
2035 void udp_destroy_sock(struct sock *sk) in udp_destroy_sock()
2052 int udp_lib_setsockopt(struct sock *sk, int level, int optname, in udp_lib_setsockopt()
2145 int udp_setsockopt(struct sock *sk, int level, int optname, in udp_setsockopt()
2155 int compat_udp_setsockopt(struct sock *sk, int level, int optname, in compat_udp_setsockopt()
2165 int udp_lib_getsockopt(struct sock *sk, int level, int optname, in udp_lib_getsockopt()
2218 int udp_getsockopt(struct sock *sk, int level, int optname, in udp_getsockopt()
2227 int compat_udp_getsockopt(struct sock *sk, int level, int optname, in compat_udp_getsockopt()
2251 struct sock *sk = sock->sk; in udp_poll() local
2304 struct sock *sk; in udp_get_first() local
2330 static struct sock *udp_get_next(struct seq_file *seq, struct sock *sk) in udp_get_next()
2349 struct sock *sk = udp_get_first(seq, 0); in udp_get_idx() local
2367 struct sock *sk; in udp_seq_next() local