• Home
  • Raw
  • Download

Lines Matching refs:sock

117 	struct sock		*sk;
131 int (*release) (struct socket *sock);
132 int (*bind) (struct socket *sock,
135 int (*connect) (struct socket *sock,
140 int (*accept) (struct socket *sock,
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,
184 int (*set_peek_off)(struct sock *sk, int val);
192 int (*create)(struct net *net, struct socket *sock,
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);
222 #define sockfd_put(sock) fput(sock->file) argument
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);