Lines Matching refs:sock

120 	struct sock		*sk;
138 int (*release) (struct socket *sock);
139 int (*bind) (struct socket *sock,
142 int (*connect) (struct socket *sock,
147 int (*accept) (struct socket *sock,
149 int (*getname) (struct socket *sock,
152 __poll_t (*poll) (struct file *file, struct socket *sock,
154 int (*ioctl) (struct socket *sock, unsigned int cmd,
157 int (*compat_ioctl) (struct socket *sock, unsigned int cmd,
160 int (*gettstamp) (struct socket *sock, void __user *userstamp,
162 int (*listen) (struct socket *sock, int len);
163 int (*shutdown) (struct socket *sock, int flags);
164 int (*setsockopt)(struct socket *sock, int level,
166 int (*getsockopt)(struct socket *sock, int level,
169 int (*compat_setsockopt)(struct socket *sock, int level,
171 int (*compat_getsockopt)(struct socket *sock, int level,
174 int (*sendmsg) (struct socket *sock, struct msghdr *m,
184 int (*recvmsg) (struct socket *sock, struct msghdr *m,
186 int (*mmap) (struct file *file, struct socket *sock,
188 ssize_t (*sendpage) (struct socket *sock, struct page *page,
190 ssize_t (*splice_read)(struct socket *sock, loff_t *ppos,
192 int (*set_peek_off)(struct sock *sk, int val);
193 int (*peek_len)(struct socket *sock);
198 int (*read_sock)(struct sock *sk, read_descriptor_t *desc,
200 int (*sendpage_locked)(struct sock *sk, struct page *page,
202 int (*sendmsg_locked)(struct sock *sk, struct msghdr *msg,
204 int (*set_rcvlowat)(struct sock *sk, int val);
212 int (*create)(struct net *net, struct socket *sock,
237 void sock_release(struct socket *sock);
238 int sock_sendmsg(struct socket *sock, struct msghdr *msg);
239 int sock_recvmsg(struct socket *sock, struct msghdr *msg, int flags);
240 struct file *sock_alloc_file(struct socket *sock, int flags, const char *dname);
243 #define sockfd_put(sock) fput(sock->file) argument
291 int kernel_sendmsg(struct socket *sock, struct msghdr *msg, struct kvec *vec,
293 int kernel_sendmsg_locked(struct sock *sk, struct msghdr *msg,
295 int kernel_recvmsg(struct socket *sock, struct msghdr *msg, struct kvec *vec,
298 int kernel_bind(struct socket *sock, struct sockaddr *addr, int addrlen);
299 int kernel_listen(struct socket *sock, int backlog);
300 int kernel_accept(struct socket *sock, struct socket **newsock, int flags);
301 int kernel_connect(struct socket *sock, struct sockaddr *addr, int addrlen,
303 int kernel_getsockname(struct socket *sock, struct sockaddr *addr);
304 int kernel_getpeername(struct socket *sock, struct sockaddr *addr);
305 int kernel_getsockopt(struct socket *sock, int level, int optname, char *optval,
307 int kernel_setsockopt(struct socket *sock, int level, int optname, char *optval,
309 int kernel_sendpage(struct socket *sock, struct page *page, int offset,
311 int kernel_sendpage_locked(struct sock *sk, struct page *page, int offset,
313 int kernel_sock_shutdown(struct socket *sock, enum sock_shutdown_cmd how);
316 u32 kernel_sock_ip_overhead(struct sock *sk);