patch-2.1.11 linux/include/linux/net.h
Next file: linux/include/linux/netdevice.h
Previous file: linux/include/linux/major.h
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Mon Nov 18 11:31:32 1996
- Orig file:
v2.1.10/linux/include/linux/net.h
- Orig date:
Mon Sep 9 16:23:58 1996
diff -u --recursive --new-file v2.1.10/linux/include/linux/net.h linux/include/linux/net.h
@@ -92,14 +92,14 @@
int (*dup) (struct socket *newsock, struct socket *oldsock);
int (*release) (struct socket *sock, struct socket *peer);
int (*bind) (struct socket *sock, struct sockaddr *umyaddr,
- int sockaddr_len);
+ size_t sockaddr_len);
int (*connect) (struct socket *sock, struct sockaddr *uservaddr,
- int sockaddr_len, int flags);
+ size_t sockaddr_len, int flags);
int (*socketpair) (struct socket *sock1, struct socket *sock2);
int (*accept) (struct socket *sock, struct socket *newsock,
int flags);
int (*getname) (struct socket *sock, struct sockaddr *uaddr,
- int *usockaddr_len, int peer);
+ size_t *usockaddr_len, int peer);
int (*select) (struct socket *sock, int sel_type,
select_table *wait);
int (*ioctl) (struct socket *sock, unsigned int cmd,
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov