USB: mos7720: remove bogus no termios change check
[linux-2.6/pdupreez.git] / include / net / inet_common.h
blob227adcbdfec801e313f9e4c49a029a8f4347be90
1 #ifndef _INET_COMMON_H
2 #define _INET_COMMON_H
4 extern const struct proto_ops inet_stream_ops;
5 extern const struct proto_ops inet_dgram_ops;
7 /*
8 * INET4 prototypes used by INET6
9 */
11 struct msghdr;
12 struct sock;
13 struct sockaddr;
14 struct socket;
16 extern void inet_remove_sock(struct sock *sk1);
17 extern void inet_put_sock(unsigned short num,
18 struct sock *sk);
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,
29 struct socket *sock,
30 struct msghdr *msg,
31 size_t size);
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);
46 #endif