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

Next file: linux/init/main.c
Previous file: linux/include/net/transp_v6.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.7/linux/include/net/udp.h linux/include/net/udp.h
@@ -31,8 +31,9 @@
 extern struct proto udp_prot;
 
 
-extern void	udp_err(int type, int code, unsigned char *header, __u32 daddr,
-			__u32 saddr, struct inet_protocol *protocol);
+extern void	udp_err(int type, int code, unsigned char *header,
+			__u32 info, __u32 daddr, __u32 saddr,
+			struct inet_protocol *protocol);
 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,
@@ -41,7 +42,11 @@
 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_in *usin, int addr_len);
+			    struct sockaddr *usin, int addr_len);
+
+extern int	udp_sendmsg(struct sock *sk, struct msghdr *msg,
+			    int len, int noblock, int flags);
+
 extern int	udp_rcv(struct sk_buff *skb, struct device *dev,
 			struct options *opt, __u32 daddr,
 			unsigned short len, __u32 saddr, int redo,

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