diff options
Diffstat (limited to 'include/net/inet_common.h')
| -rw-r--r-- | include/net/inet_common.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/net/inet_common.h b/include/net/inet_common.h index fbc1f4d140d8..f943306ce5ff 100644 --- a/include/net/inet_common.h +++ b/include/net/inet_common.h | |||
| @@ -8,6 +8,11 @@ extern struct proto_ops inet_dgram_ops; | |||
| 8 | * INET4 prototypes used by INET6 | 8 | * INET4 prototypes used by INET6 |
| 9 | */ | 9 | */ |
| 10 | 10 | ||
| 11 | struct msghdr; | ||
| 12 | struct sock; | ||
| 13 | struct sockaddr; | ||
| 14 | struct socket; | ||
| 15 | |||
| 11 | extern void inet_remove_sock(struct sock *sk1); | 16 | extern void inet_remove_sock(struct sock *sk1); |
| 12 | extern void inet_put_sock(unsigned short num, | 17 | extern void inet_put_sock(unsigned short num, |
| 13 | struct sock *sk); | 18 | struct sock *sk); |
| @@ -29,7 +34,6 @@ extern unsigned int inet_poll(struct file * file, struct socket *sock, struct p | |||
| 29 | extern int inet_listen(struct socket *sock, int backlog); | 34 | extern int inet_listen(struct socket *sock, int backlog); |
| 30 | 35 | ||
| 31 | extern void inet_sock_destruct(struct sock *sk); | 36 | extern void inet_sock_destruct(struct sock *sk); |
| 32 | extern atomic_t inet_sock_nr; | ||
| 33 | 37 | ||
| 34 | extern int inet_bind(struct socket *sock, | 38 | extern int inet_bind(struct socket *sock, |
| 35 | struct sockaddr *uaddr, int addr_len); | 39 | struct sockaddr *uaddr, int addr_len); |
