• Home
  • Raw
  • Download

Lines Matching refs:socket

115 struct socket {  struct
141 int (*release) (struct socket *sock); argument
142 int (*bind) (struct socket *sock,
145 int (*connect) (struct socket *sock,
148 int (*socketpair)(struct socket *sock1,
149 struct socket *sock2);
150 int (*accept) (struct socket *sock,
151 struct socket *newsock, int flags, bool kern);
152 int (*getname) (struct socket *sock,
155 __poll_t (*poll) (struct file *file, struct socket *sock,
157 int (*ioctl) (struct socket *sock, unsigned int cmd,
160 int (*compat_ioctl) (struct socket *sock, unsigned int cmd,
163 int (*gettstamp) (struct socket *sock, void __user *userstamp,
165 int (*listen) (struct socket *sock, int len);
166 int (*shutdown) (struct socket *sock, int flags);
167 int (*setsockopt)(struct socket *sock, int level,
170 int (*getsockopt)(struct socket *sock, int level,
172 void (*show_fdinfo)(struct seq_file *m, struct socket *sock);
173 int (*sendmsg) (struct socket *sock, struct msghdr *m,
183 int (*recvmsg) (struct socket *sock, struct msghdr *m,
185 int (*mmap) (struct file *file, struct socket *sock,
187 ssize_t (*sendpage) (struct socket *sock, struct page *page,
189 ssize_t (*splice_read)(struct socket *sock, loff_t *ppos,
192 int (*peek_len)(struct socket *sock);
216 int (*create)(struct net *net, struct socket *sock,
236 struct socket **res, int kern);
237 int sock_create(int family, int type, int proto, struct socket **res);
238 int sock_create_kern(struct net *net, int family, int type, int proto, struct socket **res);
239 int sock_create_lite(int family, int type, int proto, struct socket **res);
240 struct socket *sock_alloc(void);
241 void sock_release(struct socket *sock);
242 int sock_sendmsg(struct socket *sock, struct msghdr *msg);
243 int sock_recvmsg(struct socket *sock, struct msghdr *msg, int flags);
244 struct file *sock_alloc_file(struct socket *sock, int flags, const char *dname);
245 struct socket *sockfd_lookup(int fd, int *err);
246 struct socket *sock_from_file(struct file *file);
311 int kernel_sendmsg(struct socket *sock, struct msghdr *msg, struct kvec *vec,
315 int kernel_recvmsg(struct socket *sock, struct msghdr *msg, struct kvec *vec,
318 int kernel_bind(struct socket *sock, struct sockaddr *addr, int addrlen);
319 int kernel_listen(struct socket *sock, int backlog);
320 int kernel_accept(struct socket *sock, struct socket **newsock, int flags);
321 int kernel_connect(struct socket *sock, struct sockaddr *addr, int addrlen,
323 int kernel_getsockname(struct socket *sock, struct sockaddr *addr);
324 int kernel_getpeername(struct socket *sock, struct sockaddr *addr);
325 int kernel_sendpage(struct socket *sock, struct page *page, int offset,
329 int kernel_sock_shutdown(struct socket *sock, enum sock_shutdown_cmd how);