Lines Matching refs:socket

110 struct socket {  struct
135 int (*release) (struct socket *sock); argument
136 int (*bind) (struct socket *sock,
139 int (*connect) (struct socket *sock,
142 int (*socketpair)(struct socket *sock1,
143 struct socket *sock2);
144 int (*accept) (struct socket *sock,
145 struct socket *newsock, int flags);
146 int (*getname) (struct socket *sock,
149 unsigned int (*poll) (struct file *file, struct socket *sock,
151 int (*ioctl) (struct socket *sock, unsigned int cmd,
154 int (*compat_ioctl) (struct socket *sock, unsigned int cmd,
157 int (*listen) (struct socket *sock, int len);
158 int (*shutdown) (struct socket *sock, int flags);
159 int (*setsockopt)(struct socket *sock, int level,
161 int (*getsockopt)(struct socket *sock, int level,
164 int (*compat_setsockopt)(struct socket *sock, int level,
166 int (*compat_getsockopt)(struct socket *sock, int level,
169 int (*sendmsg) (struct socket *sock, struct msghdr *m,
179 int (*recvmsg) (struct socket *sock, struct msghdr *m,
181 int (*mmap) (struct file *file, struct socket *sock,
183 ssize_t (*sendpage) (struct socket *sock, struct page *page,
185 ssize_t (*splice_read)(struct socket *sock, loff_t *ppos,
195 int (*create)(struct net *net, struct socket *sock,
214 struct socket **res, int kern);
215 int sock_create(int family, int type, int proto, struct socket **res);
216 int sock_create_kern(struct net *net, int family, int type, int proto, struct socket **res);
217 int sock_create_lite(int family, int type, int proto, struct socket **res);
218 void sock_release(struct socket *sock);
219 int sock_sendmsg(struct socket *sock, struct msghdr *msg);
220 int sock_recvmsg(struct socket *sock, struct msghdr *msg, size_t size,
222 struct file *sock_alloc_file(struct socket *sock, int flags, const char *dname);
223 struct socket *sockfd_lookup(int fd, int *err);
224 struct socket *sock_from_file(struct file *file, int *err);
270 int kernel_sendmsg(struct socket *sock, struct msghdr *msg, struct kvec *vec,
272 int kernel_recvmsg(struct socket *sock, struct msghdr *msg, struct kvec *vec,
275 int kernel_bind(struct socket *sock, struct sockaddr *addr, int addrlen);
276 int kernel_listen(struct socket *sock, int backlog);
277 int kernel_accept(struct socket *sock, struct socket **newsock, int flags);
278 int kernel_connect(struct socket *sock, struct sockaddr *addr, int addrlen,
280 int kernel_getsockname(struct socket *sock, struct sockaddr *addr,
282 int kernel_getpeername(struct socket *sock, struct sockaddr *addr,
284 int kernel_getsockopt(struct socket *sock, int level, int optname, char *optval,
286 int kernel_setsockopt(struct socket *sock, int level, int optname, char *optval,
288 int kernel_sendpage(struct socket *sock, struct page *page, int offset,
290 int kernel_sock_ioctl(struct socket *sock, int cmd, unsigned long arg);
291 int kernel_sock_shutdown(struct socket *sock, enum sock_shutdown_cmd how);