• Home
  • Raw
  • Download

Lines Matching refs:socket

118 struct socket {  struct
166 int (*release) (struct socket *sock);
167 int (*bind) (struct socket *sock,
170 int (*connect) (struct socket *sock,
173 int (*socketpair)(struct socket *sock1,
174 struct socket *sock2);
175 int (*accept) (struct socket *sock,
176 struct socket *newsock,
178 int (*getname) (struct socket *sock,
181 __poll_t (*poll) (struct file *file, struct socket *sock,
183 int (*ioctl) (struct socket *sock, unsigned int cmd,
186 int (*compat_ioctl) (struct socket *sock, unsigned int cmd,
189 int (*gettstamp) (struct socket *sock, void __user *userstamp,
191 int (*listen) (struct socket *sock, int len);
192 int (*shutdown) (struct socket *sock, int flags);
193 int (*setsockopt)(struct socket *sock, int level,
196 int (*getsockopt)(struct socket *sock, int level,
198 void (*show_fdinfo)(struct seq_file *m, struct socket *sock);
199 int (*sendmsg) (struct socket *sock, struct msghdr *m,
209 int (*recvmsg) (struct socket *sock, struct msghdr *m,
211 int (*mmap) (struct file *file, struct socket *sock,
213 ssize_t (*splice_read)(struct socket *sock, loff_t *ppos,
215 void (*splice_eof)(struct socket *sock);
217 int (*peek_len)(struct socket *sock);
241 int (*create)(struct net *net, struct socket *sock,
261 struct socket **res, int kern);
262 int sock_create(int family, int type, int proto, struct socket **res);
263 int sock_create_kern(struct net *net, int family, int type, int proto, struct socket **res);
264 int sock_create_lite(int family, int type, int proto, struct socket **res);
265 struct socket *sock_alloc(void);
266 void sock_release(struct socket *sock);
267 int sock_sendmsg(struct socket *sock, struct msghdr *msg);
268 int sock_recvmsg(struct socket *sock, struct msghdr *msg, int flags);
269 struct file *sock_alloc_file(struct socket *sock, int flags, const char *dname);
270 struct socket *sockfd_lookup(int fd, int *err);
271 struct socket *sock_from_file(struct file *file);
350 int kernel_sendmsg(struct socket *sock, struct msghdr *msg, struct kvec *vec,
354 int kernel_recvmsg(struct socket *sock, struct msghdr *msg, struct kvec *vec,
357 int kernel_bind(struct socket *sock, struct sockaddr *addr, int addrlen);
358 int kernel_listen(struct socket *sock, int backlog);
359 int kernel_accept(struct socket *sock, struct socket **newsock, int flags);
360 int kernel_connect(struct socket *sock, struct sockaddr *addr, int addrlen,
362 int kernel_getsockname(struct socket *sock, struct sockaddr *addr);
363 int kernel_getpeername(struct socket *sock, struct sockaddr *addr);
364 int kernel_sock_shutdown(struct socket *sock, enum sock_shutdown_cmd how);