Lines Matching defs:sock
1834 static int packet_sendmsg_spkt(struct socket *sock, struct msghdr *msg, in packet_sendmsg_spkt()
2348 struct socket *sock = po->sk.sk_socket; in tpacket_fill_skb() local
2626 static int packet_snd(struct socket *sock, struct msghdr *msg, size_t len) in packet_snd()
2829 static int packet_sendmsg(struct socket *sock, struct msghdr *msg, size_t len) in packet_sendmsg()
2845 static int packet_release(struct socket *sock) in packet_release()
3001 static int packet_bind_spkt(struct socket *sock, struct sockaddr *uaddr, in packet_bind_spkt()
3018 static int packet_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) in packet_bind()
3046 static int packet_create(struct net *net, struct socket *sock, int protocol, in packet_create()
3126 static int packet_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, in packet_recvmsg()
3302 static int packet_getname_spkt(struct socket *sock, struct sockaddr *uaddr, in packet_getname_spkt()
3323 static int packet_getname(struct socket *sock, struct sockaddr *uaddr, in packet_getname()
3502 packet_setsockopt(struct socket *sock, int level, int optname, char __user *optval, unsigned int op… in packet_setsockopt()
3716 static int packet_getsockopt(struct socket *sock, int level, int optname, in packet_getsockopt()
3881 static int packet_ioctl(struct socket *sock, unsigned int cmd, in packet_ioctl()
3934 static unsigned int packet_poll(struct file *file, struct socket *sock, in packet_poll()
3967 struct socket *sock = file->private_data; in packet_mm_open() local
3977 struct socket *sock = file->private_data; in packet_mm_close() local
4208 static int packet_mmap(struct file *file, struct socket *sock, in packet_mmap()