Lines Matching refs:sock
21 struct sock;
25 int inet_release(struct socket *sock);
26 int inet_stream_connect(struct socket *sock, struct sockaddr *uaddr,
28 int __inet_stream_connect(struct socket *sock, struct sockaddr *uaddr,
30 int inet_dgram_connect(struct socket *sock, struct sockaddr *uaddr,
32 int inet_accept(struct socket *sock, struct socket *newsock,
34 void __inet_accept(struct socket *sock, struct socket *newsock,
35 struct sock *newsk);
36 int inet_send_prepare(struct sock *sk);
37 int inet_sendmsg(struct socket *sock, struct msghdr *msg, size_t size);
38 void inet_splice_eof(struct socket *sock);
39 int inet_recvmsg(struct socket *sock, struct msghdr *msg, size_t size,
41 int inet_shutdown(struct socket *sock, int how);
42 int inet_listen(struct socket *sock, int backlog);
43 int __inet_listen_sk(struct sock *sk, int backlog);
44 void inet_sock_destruct(struct sock *sk);
45 int inet_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len);
46 int inet_bind_sk(struct sock *sk, struct sockaddr *uaddr, int addr_len);
55 int __inet_bind(struct sock *sk, struct sockaddr *uaddr, int addr_len,
57 int inet_getname(struct socket *sock, struct sockaddr *uaddr,
59 int inet_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg);
60 int inet_ctl_sock_create(struct sock **sk, unsigned short family,
63 int inet_recv_error(struct sock *sk, struct msghdr *msg, int len,
71 static inline void inet_ctl_sock_destroy(struct sock *sk) in inet_ctl_sock_destroy()