patch-2.4.23 linux-2.4.23/net/ipv4/af_inet.c
Next file: linux-2.4.23/net/ipv4/arp.c
Previous file: linux-2.4.23/net/ipv4/Config.in
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
2003-11-28 10:26:21.000000000 -0800
- Orig file:
linux-2.4.22/net/ipv4/af_inet.c
- Orig date:
2003-06-13 07:51:39.000000000 -0700
diff -urN linux-2.4.22/net/ipv4/af_inet.c linux-2.4.23/net/ipv4/af_inet.c
@@ -470,7 +470,7 @@
/* It is off by default, see below. */
int sysctl_ip_nonlocal_bind;
-static int inet_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len)
+int inet_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len)
{
struct sockaddr_in *addr=(struct sockaddr_in *)uaddr;
struct sock *sk=sock->sk;
@@ -703,7 +703,7 @@
* This does both peername and sockname.
*/
-static int inet_getname(struct socket *sock, struct sockaddr *uaddr,
+int inet_getname(struct socket *sock, struct sockaddr *uaddr,
int *uaddr_len, int peer)
{
struct sock *sk = sock->sk;
@@ -820,7 +820,7 @@
* There's a good 20K of config code hanging around the kernel.
*/
-static int inet_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
+int inet_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
{
struct sock *sk = sock->sk;
int err;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)