• Home
  • Raw
  • Download

Lines Matching refs:socket

105 struct socket {  struct
131 int (*release) (struct socket *sock); argument
132 int (*bind) (struct socket *sock,
135 int (*connect) (struct socket *sock,
138 int (*socketpair)(struct socket *sock1,
139 struct socket *sock2);
140 int (*accept) (struct socket *sock,
141 struct socket *newsock, int flags);
142 int (*getname) (struct socket *sock,
145 unsigned int (*poll) (struct file *file, struct socket *sock,
147 int (*ioctl) (struct socket *sock, unsigned int cmd,
150 int (*compat_ioctl) (struct socket *sock, unsigned int cmd,
153 int (*listen) (struct socket *sock, int len);
154 int (*shutdown) (struct socket *sock, int flags);
155 int (*setsockopt)(struct socket *sock, int level,
157 int (*getsockopt)(struct socket *sock, int level,
160 int (*compat_setsockopt)(struct socket *sock, int level,
162 int (*compat_getsockopt)(struct socket *sock, int level,
165 int (*sendmsg) (struct kiocb *iocb, struct socket *sock,
175 int (*recvmsg) (struct kiocb *iocb, struct socket *sock,
178 int (*mmap) (struct file *file, struct socket *sock,
180 ssize_t (*sendpage) (struct socket *sock, struct page *page,
182 ssize_t (*splice_read)(struct socket *sock, loff_t *ppos,
192 int (*create)(struct net *net, struct socket *sock,
207 int sock_wake_async(struct socket *sk, int how, int band);
211 struct socket **res, int kern);
212 int sock_create(int family, int type, int proto, struct socket **res);
213 int sock_create_kern(int family, int type, int proto, struct socket **res);
214 int sock_create_lite(int family, int type, int proto, struct socket **res);
215 void sock_release(struct socket *sock);
216 int sock_sendmsg(struct socket *sock, struct msghdr *msg, size_t len);
217 int sock_recvmsg(struct socket *sock, struct msghdr *msg, size_t size,
219 struct file *sock_alloc_file(struct socket *sock, int flags, const char *dname);
220 struct socket *sockfd_lookup(int fd, int *err);
221 struct socket *sock_from_file(struct file *file, int *err);
265 int kernel_sendmsg(struct socket *sock, struct msghdr *msg, struct kvec *vec,
267 int kernel_recvmsg(struct socket *sock, struct msghdr *msg, struct kvec *vec,
270 int kernel_bind(struct socket *sock, struct sockaddr *addr, int addrlen);
271 int kernel_listen(struct socket *sock, int backlog);
272 int kernel_accept(struct socket *sock, struct socket **newsock, int flags);
273 int kernel_connect(struct socket *sock, struct sockaddr *addr, int addrlen,
275 int kernel_getsockname(struct socket *sock, struct sockaddr *addr,
277 int kernel_getpeername(struct socket *sock, struct sockaddr *addr,
279 int kernel_getsockopt(struct socket *sock, int level, int optname, char *optval,
281 int kernel_setsockopt(struct socket *sock, int level, int optname, char *optval,
283 int kernel_sendpage(struct socket *sock, struct page *page, int offset,
285 int kernel_sock_ioctl(struct socket *sock, int cmd, unsigned long arg);
286 int kernel_sock_shutdown(struct socket *sock, enum sock_shutdown_cmd how);