Lines Matching refs:sk
131 static inline __wsum udp_csum_outgoing(struct sock *sk, struct sk_buff *skb) in udp_csum_outgoing() argument
135 skb_queue_walk(&sk->sk_write_queue, skb) { in udp_csum_outgoing()
180 static inline void udp_lib_hash(struct sock *sk) in udp_lib_hash() argument
185 void udp_lib_unhash(struct sock *sk);
186 void udp_lib_rehash(struct sock *sk, u16 new_hash);
188 static inline void udp_lib_close(struct sock *sk, long timeout) in udp_lib_close() argument
190 sk_common_release(sk); in udp_lib_close()
193 int udp_lib_get_port(struct sock *sk, unsigned short snum,
237 int udp_get_port(struct sock *sk, unsigned short snum,
241 int udp_sendmsg(struct sock *sk, struct msghdr *msg, size_t len);
242 int udp_push_pending_frames(struct sock *sk);
243 void udp_flush_pending_frames(struct sock *sk);
246 int udp_ioctl(struct sock *sk, int cmd, unsigned long arg);
247 int udp_disconnect(struct sock *sk, int flags);
252 int udp_lib_getsockopt(struct sock *sk, int level, int optname,
254 int udp_lib_setsockopt(struct sock *sk, int level, int optname,
291 #define UDPX_INC_STATS_BH(sk, field) \ argument
293 if ((sk)->sk_family == AF_INET) \
294 UDP_INC_STATS_BH(sock_net(sk), field, 0); \
296 UDP6_INC_STATS_BH(sock_net(sk), field, 0); \
299 #define UDPX_INC_STATS_BH(sk, field) UDP_INC_STATS_BH(sock_net(sk), field, 0) argument