Lines Matching refs:sk
104 static inline __wsum udp_csum_outgoing(struct sock *sk, struct sk_buff *skb) in udp_csum_outgoing() argument
108 skb_queue_walk(&sk->sk_write_queue, skb) { in udp_csum_outgoing()
115 static inline void udp_lib_hash(struct sock *sk) in udp_lib_hash() argument
120 extern void udp_lib_unhash(struct sock *sk);
122 static inline void udp_lib_close(struct sock *sk, long timeout) in udp_lib_close() argument
124 sk_common_release(sk); in udp_lib_close()
127 extern int udp_lib_get_port(struct sock *sk, unsigned short snum,
131 extern int udp_get_port(struct sock *sk, unsigned short snum,
135 extern int udp_sendmsg(struct kiocb *iocb, struct sock *sk,
137 extern void udp_flush_pending_frames(struct sock *sk);
140 extern int udp_ioctl(struct sock *sk, int cmd, unsigned long arg);
141 extern int udp_disconnect(struct sock *sk, int flags);
144 extern int udp_lib_getsockopt(struct sock *sk, int level, int optname,
146 extern int udp_lib_setsockopt(struct sock *sk, int level, int optname,
174 #define UDPX_INC_STATS_BH(sk, field) \ argument
176 if ((sk)->sk_family == AF_INET) \
177 UDP_INC_STATS_BH(sock_net(sk), field, 0); \
179 UDP6_INC_STATS_BH(sock_net(sk), field, 0); \
182 #define UDPX_INC_STATS_BH(sk, field) UDP_INC_STATS_BH(sock_net(sk), field, 0) argument