4 extern struct proto_ops inet_stream_ops;
5 extern struct proto_ops inet_dgram_ops;
8 * INET4 prototypes used by INET6
16 extern void inet_remove_sock(struct sock *sk1);
17 extern void inet_put_sock(unsigned short num,
19 extern int inet_release(struct socket *sock);
20 extern int inet_stream_connect(struct socket *sock,
21 struct sockaddr * uaddr,
22 int addr_len, int flags);
23 extern int inet_dgram_connect(struct socket *sock,
24 struct sockaddr * uaddr,
25 int addr_len, int flags);
26 extern int inet_accept(struct socket *sock,
27 struct socket *newsock, int flags);
28 extern int inet_sendmsg(struct kiocb *iocb,
32 extern int inet_shutdown(struct socket *sock, int how);
33 extern unsigned int inet_poll(struct file * file, struct socket *sock, struct poll_table_struct *wait);
34 extern int inet_listen(struct socket *sock, int backlog);
36 extern void inet_sock_destruct(struct sock *sk);
38 extern int inet_bind(struct socket *sock,
39 struct sockaddr *uaddr, int addr_len);
40 extern int inet_getname(struct socket *sock,
41 struct sockaddr *uaddr,
42 int *uaddr_len, int peer);
43 extern int inet_ioctl(struct socket *sock,
44 unsigned int cmd, unsigned long arg);