Lines Matching refs:sock
131 static inline __wsum udp_csum_outgoing(struct sock *sk, struct sk_buff *skb) in udp_csum_outgoing()
180 static inline void udp_lib_hash(struct sock *sk) in udp_lib_hash()
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()
193 int udp_lib_get_port(struct sock *sk, unsigned short snum,
194 int (*)(const struct sock *, const struct sock *),
237 int udp_get_port(struct sock *sk, unsigned short snum,
238 int (*saddr_cmp)(const struct sock *,
239 const struct sock *));
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);
248 unsigned int udp_poll(struct file *file, struct socket *sock, poll_table *wait);
252 int udp_lib_getsockopt(struct sock *sk, int level, int optname,
254 int udp_lib_setsockopt(struct sock *sk, int level, int optname,
256 int (*push_pending_frames)(struct sock *));
257 struct sock *udp4_lib_lookup(struct net *net, __be32 saddr, __be16 sport,
259 struct sock *__udp4_lib_lookup(struct net *net, __be32 saddr, __be16 sport,
262 struct sock *udp6_lib_lookup(struct net *net,
266 struct sock *__udp6_lib_lookup(struct net *net,