Lines Matching defs:sk

139 			       struct sock *sk,  in udp_lib_lport_inuse()
172 struct sock *sk, in udp_lib_lport_inuse2()
209 int udp_lib_get_port(struct sock *sk, unsigned short snum, in udp_lib_get_port()
328 int udp_v4_get_port(struct sock *sk, unsigned short snum) in udp_v4_get_port()
340 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()
443 struct sock *sk, *result; in udp4_lib_lookup2() local
496 struct sock *sk, *result; in __udp4_lib_lookup() local
591 static inline bool __udp_is_mcast_sock(struct net *net, struct sock *sk, in __udp_is_mcast_sock()
629 struct sock *sk; in __udp4_lib_err() local
701 void udp_flush_pending_frames(struct sock *sk) in udp_flush_pending_frames()
798 struct sock *sk = skb->sk; in udp_send_skb() local
855 int udp_push_pending_frames(struct sock *sk) in udp_push_pending_frames()
876 int udp_sendmsg(struct sock *sk, struct msghdr *msg, size_t len) in udp_sendmsg()
1123 int udp_sendpage(struct sock *sk, struct page *page, int offset, in udp_sendpage()
1183 static unsigned int first_packet_length(struct sock *sk) in first_packet_length()
1219 int udp_ioctl(struct sock *sk, int cmd, unsigned long arg) in udp_ioctl()
1257 int udp_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, int noblock, in udp_recvmsg()
1357 int udp_disconnect(struct sock *sk, int flags) in udp_disconnect()
1381 void udp_lib_unhash(struct sock *sk) in udp_lib_unhash()
1410 void udp_lib_rehash(struct sock *sk, u16 newhash) in udp_lib_rehash()
1442 static void udp_v4_rehash(struct sock *sk) in udp_v4_rehash()
1450 static int __udp_queue_rcv_skb(struct sock *sk, struct sk_buff *skb) in __udp_queue_rcv_skb()
1494 int udp_queue_rcv_skb(struct sock *sk, struct sk_buff *skb) in udp_queue_rcv_skb()
1614 struct sock *sk; in flush_stack() local
1641 static void udp_sk_rx_dst_set(struct sock *sk, struct dst_entry *dst) in udp_sk_rx_dst_set()
1661 struct sock *sk, *stack[256 / sizeof(struct sock *)]; in __udp4_lib_mcast_deliver() local
1747 struct sock *sk; in __udp4_lib_rcv() local
1869 struct sock *sk, *result; in __udp4_lib_mcast_demux_lookup() local
1925 struct sock *sk, *result; in __udp4_lib_demux_lookup() local
1963 struct sock *sk; in udp_v4_early_demux() local
2020 void udp_destroy_sock(struct sock *sk) in udp_destroy_sock()
2037 int udp_lib_setsockopt(struct sock *sk, int level, int optname, in udp_lib_setsockopt()
2130 int udp_setsockopt(struct sock *sk, int level, int optname, in udp_setsockopt()
2140 int compat_udp_setsockopt(struct sock *sk, int level, int optname, in compat_udp_setsockopt()
2150 int udp_lib_getsockopt(struct sock *sk, int level, int optname, in udp_lib_getsockopt()
2203 int udp_getsockopt(struct sock *sk, int level, int optname, in udp_getsockopt()
2212 int compat_udp_getsockopt(struct sock *sk, int level, int optname, in compat_udp_getsockopt()
2236 struct sock *sk = sock->sk; in udp_poll() local
2289 struct sock *sk; in udp_get_first() local
2315 static struct sock *udp_get_next(struct seq_file *seq, struct sock *sk) in udp_get_next()
2334 struct sock *sk = udp_get_first(seq, 0); in udp_get_idx() local
2352 struct sock *sk; in udp_seq_next() local