Lines Matching refs:sock
12 struct sock;
16 int inet_release(struct socket *sock);
17 int inet_stream_connect(struct socket *sock, struct sockaddr *uaddr,
19 int __inet_stream_connect(struct socket *sock, struct sockaddr *uaddr,
21 int inet_dgram_connect(struct socket *sock, struct sockaddr *uaddr,
23 int inet_accept(struct socket *sock, struct socket *newsock, int flags);
24 int inet_sendmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg,
26 ssize_t inet_sendpage(struct socket *sock, struct page *page, int offset,
28 int inet_recvmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg,
30 int inet_shutdown(struct socket *sock, int how);
31 int inet_listen(struct socket *sock, int backlog);
32 void inet_sock_destruct(struct sock *sk);
33 int inet_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len);
34 int inet_getname(struct socket *sock, struct sockaddr *uaddr, int *uaddr_len,
36 int inet_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg);
37 int inet_ctl_sock_create(struct sock **sk, unsigned short family,
40 int inet_recv_error(struct sock *sk, struct msghdr *msg, int len,
43 static inline void inet_ctl_sock_destroy(struct sock *sk) in inet_ctl_sock_destroy()