Lines Matching defs:sock
57 #include <net/sock.h>
64 static inline int connection_based(struct sock *sk)
84 static int wait_for_packet(struct sock *sk, int *err, long *timeo_p)
160 struct sk_buff *__skb_recv_datagram(struct sock *sk, unsigned flags,
214 struct sk_buff *skb_recv_datagram(struct sock *sk, unsigned flags,
224 void skb_free_datagram(struct sock *sk, struct sk_buff *skb)
231 void skb_free_datagram_locked(struct sock *sk, struct sk_buff *skb)
271 int skb_kill_datagram(struct sock *sk, struct sk_buff *skb, unsigned int flags)
725 * @sock: socket
736 unsigned int datagram_poll(struct file *file, struct socket *sock,
739 struct sock *sk = sock->sk;