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

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

diff -u --recursive --new-file v2.1.10/linux/include/net/udp.h linux/include/net/udp.h
@@ -33,16 +33,11 @@
 
 extern void	udp_err(int type, int code, unsigned char *header,
 			__u32 info, __u32 daddr, __u32 saddr,
-			struct inet_protocol *protocol);
+			struct inet_protocol *protocol, int len);
 extern void	udp_send_check(struct udphdr *uh, __u32 saddr, 
 			__u32 daddr, int len, struct sock *sk);
-extern int	udp_recvfrom(struct sock *sk, unsigned char *to,
-			     int len, int noblock, unsigned flags,
-			     struct sockaddr_in *sin, int *addr_len);
-extern int	udp_read(struct sock *sk, unsigned char *buff,
-			 int len, int noblock, unsigned flags);
 extern int	udp_connect(struct sock *sk,
-			    struct sockaddr *usin, int addr_len);
+			    struct sockaddr *usin, size_t addr_len);
 
 extern int	udp_sendmsg(struct sock *sk, struct msghdr *msg,
 			    int len, int noblock, int flags);

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