patch-2.1.11 linux/include/net/sock.h

Next file: linux/include/net/tcp.h
Previous file: linux/include/net/protocol.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.10/linux/include/net/sock.h linux/include/net/sock.h
@@ -511,7 +511,7 @@
 					unsigned long timeout);
 	int			(*connect)(struct sock *sk,
 				        struct sockaddr *uaddr, 
-					int addr_len);
+					size_t addr_len);
 
 	struct sock *		(*accept) (struct sock *sk, int flags);
 	void			(*retransmit)(struct sock *sk, int all);
@@ -537,7 +537,7 @@
 					int len, int noblock, int flags, 
 					int *addr_len);
 	int			(*bind)(struct sock *sk, 
-					struct sockaddr *uaddr, int addr_len);
+					struct sockaddr *uaddr, size_t addr_len);
 
 	int			(*backlog_rcv) (struct sock *sk, 
 						struct sk_buff *skb);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov