Lines Matching refs:socket

116 struct socket {  struct
163 int (*release) (struct socket *sock);
164 int (*bind) (struct socket *sock,
167 int (*connect) (struct socket *sock,
170 int (*socketpair)(struct socket *sock1,
171 struct socket *sock2);
172 int (*accept) (struct socket *sock,
173 struct socket *newsock, int flags, bool kern);
174 int (*getname) (struct socket *sock,
177 __poll_t (*poll) (struct file *file, struct socket *sock,
179 int (*ioctl) (struct socket *sock, unsigned int cmd,
182 int (*compat_ioctl) (struct socket *sock, unsigned int cmd,
185 int (*gettstamp) (struct socket *sock, void __user *userstamp,
187 int (*listen) (struct socket *sock, int len);
188 int (*shutdown) (struct socket *sock, int flags);
189 int (*setsockopt)(struct socket *sock, int level,
192 int (*getsockopt)(struct socket *sock, int level,
194 void (*show_fdinfo)(struct seq_file *m, struct socket *sock);
195 int (*sendmsg) (struct socket *sock, struct msghdr *m,
205 int (*recvmsg) (struct socket *sock, struct msghdr *m,
207 int (*mmap) (struct file *file, struct socket *sock,
209 ssize_t (*sendpage) (struct socket *sock, struct page *page,
211 ssize_t (*splice_read)(struct socket *sock, loff_t *ppos,
214 int (*peek_len)(struct socket *sock);
235 int (*create)(struct net *net, struct socket *sock,
255 struct socket **res, int kern);
256 int sock_create(int family, int type, int proto, struct socket **res);
257 int sock_create_kern(struct net *net, int family, int type, int proto, struct socket **res);
258 int sock_create_lite(int family, int type, int proto, struct socket **res);
259 struct socket *sock_alloc(void);
260 void sock_release(struct socket *sock);
261 int sock_sendmsg(struct socket *sock, struct msghdr *msg);
262 int sock_recvmsg(struct socket *sock, struct msghdr *msg, int flags);
263 struct file *sock_alloc_file(struct socket *sock, int flags, const char *dname);
264 struct socket *sockfd_lookup(int fd, int *err);
265 struct socket *sock_from_file(struct file *file);
328 int kernel_sendmsg(struct socket *sock, struct msghdr *msg, struct kvec *vec,
332 int kernel_recvmsg(struct socket *sock, struct msghdr *msg, struct kvec *vec,
335 int kernel_bind(struct socket *sock, struct sockaddr *addr, int addrlen);
336 int kernel_listen(struct socket *sock, int backlog);
337 int kernel_accept(struct socket *sock, struct socket **newsock, int flags);
338 int kernel_connect(struct socket *sock, struct sockaddr *addr, int addrlen,
340 int kernel_getsockname(struct socket *sock, struct sockaddr *addr);
341 int kernel_getpeername(struct socket *sock, struct sockaddr *addr);
342 int kernel_sendpage(struct socket *sock, struct page *page, int offset,
346 int kernel_sock_shutdown(struct socket *sock, enum sock_shutdown_cmd how);