Lines Matching refs:sock
15 struct sock;
19 int inet_release(struct socket *sock);
20 int inet_stream_connect(struct socket *sock, struct sockaddr *uaddr,
22 int __inet_stream_connect(struct socket *sock, struct sockaddr *uaddr,
24 int inet_dgram_connect(struct socket *sock, struct sockaddr *uaddr,
26 int inet_accept(struct socket *sock, struct socket *newsock, int flags,
28 int inet_send_prepare(struct sock *sk);
29 int inet_sendmsg(struct socket *sock, struct msghdr *msg, size_t size);
30 ssize_t inet_sendpage(struct socket *sock, struct page *page, int offset,
32 int inet_recvmsg(struct socket *sock, struct msghdr *msg, size_t size,
34 int inet_shutdown(struct socket *sock, int how);
35 int inet_listen(struct socket *sock, int backlog);
36 void inet_sock_destruct(struct sock *sk);
37 int inet_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len);
46 int __inet_bind(struct sock *sk, struct sockaddr *uaddr, int addr_len,
48 int inet_getname(struct socket *sock, struct sockaddr *uaddr,
50 int inet_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg);
51 int inet_ctl_sock_create(struct sock **sk, unsigned short family,
54 int inet_recv_error(struct sock *sk, struct msghdr *msg, int len,
62 static inline void inet_ctl_sock_destroy(struct sock *sk) in inet_ctl_sock_destroy()