4 extern struct proto_ops inet_stream_ops
;
5 extern struct proto_ops inet_dgram_ops
;
8 * INET4 prototypes used by INET6
11 extern void inet_remove_sock(struct sock
*sk1
);
12 extern void inet_put_sock(unsigned short num
,
14 extern int inet_release(struct socket
*sock
,
16 extern int inet_stream_connect(struct socket
*sock
,
17 struct sockaddr
* uaddr
,
18 int addr_len
, int flags
);
19 extern int inet_dgram_connect(struct socket
*sock
,
20 struct sockaddr
* uaddr
,
21 int addr_len
, int flags
);
22 extern int inet_accept(struct socket
*sock
,
23 struct socket
*newsock
, int flags
);
24 extern int inet_recvmsg(struct socket
*sock
,
26 int size
, int flags
, struct scm_cookie
*scm
);
27 extern int inet_sendmsg(struct socket
*sock
,
29 int size
, struct scm_cookie
*scm
);
30 extern int inet_shutdown(struct socket
*sock
, int how
);
31 extern unsigned int inet_poll(struct file
* file
, struct socket
*sock
, struct poll_table_struct
*wait
);
32 extern int inet_setsockopt(struct socket
*sock
, int level
,
33 int optname
, char *optval
,
35 extern int inet_getsockopt(struct socket
*sock
, int level
,
36 int optname
, char *optval
,
38 extern int inet_fcntl(struct socket
*sock
,
41 extern int inet_listen(struct socket
*sock
, int backlog
);