Lines Matching refs:sock

123 	struct sock		*sk;
156 typedef int (*skb_read_actor_t)(struct sock *, struct sk_buff *);
162 int (*release) (struct socket *sock);
163 int (*bind) (struct socket *sock,
166 int (*connect) (struct socket *sock,
171 int (*accept) (struct socket *sock,
173 int (*getname) (struct socket *sock,
176 __poll_t (*poll) (struct file *file, struct socket *sock,
178 int (*ioctl) (struct socket *sock, unsigned int cmd,
181 int (*compat_ioctl) (struct socket *sock, unsigned int cmd,
184 int (*gettstamp) (struct socket *sock, void __user *userstamp,
186 int (*listen) (struct socket *sock, int len);
187 int (*shutdown) (struct socket *sock, int flags);
188 int (*setsockopt)(struct socket *sock, int level,
191 int (*getsockopt)(struct socket *sock, int level,
193 void (*show_fdinfo)(struct seq_file *m, struct socket *sock);
194 int (*sendmsg) (struct socket *sock, struct msghdr *m,
204 int (*recvmsg) (struct socket *sock, struct msghdr *m,
206 int (*mmap) (struct file *file, struct socket *sock,
208 ssize_t (*sendpage) (struct socket *sock, struct page *page,
210 ssize_t (*splice_read)(struct socket *sock, loff_t *ppos,
212 int (*set_peek_off)(struct sock *sk, int val);
213 int (*peek_len)(struct socket *sock);
218 int (*read_sock)(struct sock *sk, read_descriptor_t *desc,
221 int (*read_skb)(struct sock *sk, skb_read_actor_t recv_actor);
222 int (*sendpage_locked)(struct sock *sk, struct page *page,
224 int (*sendmsg_locked)(struct sock *sk, struct msghdr *msg,
226 int (*set_rcvlowat)(struct sock *sk, int val);
234 int (*create)(struct net *net, struct socket *sock,
259 void sock_release(struct socket *sock);
260 int sock_sendmsg(struct socket *sock, struct msghdr *msg);
261 int sock_recvmsg(struct socket *sock, struct msghdr *msg, int flags);
262 struct file *sock_alloc_file(struct socket *sock, int flags, const char *dname);
265 #define sockfd_put(sock) fput(sock->file) argument
327 int kernel_sendmsg(struct socket *sock, struct msghdr *msg, struct kvec *vec,
329 int kernel_sendmsg_locked(struct sock *sk, struct msghdr *msg,
331 int kernel_recvmsg(struct socket *sock, struct msghdr *msg, struct kvec *vec,
334 int kernel_bind(struct socket *sock, struct sockaddr *addr, int addrlen);
335 int kernel_listen(struct socket *sock, int backlog);
336 int kernel_accept(struct socket *sock, struct socket **newsock, int flags);
337 int kernel_connect(struct socket *sock, struct sockaddr *addr, int addrlen,
339 int kernel_getsockname(struct socket *sock, struct sockaddr *addr);
340 int kernel_getpeername(struct socket *sock, struct sockaddr *addr);
341 int kernel_sendpage(struct socket *sock, struct page *page, int offset,
343 int kernel_sendpage_locked(struct sock *sk, struct page *page, int offset,
345 int kernel_sock_shutdown(struct socket *sock, enum sock_shutdown_cmd how);
348 u32 kernel_sock_ip_overhead(struct sock *sk);