patch-1.3.26 linux/net/ipv4/igmp.c

Next file: linux/net/ipv4/ip.c
Previous file: linux/net/ipv4/icmp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.25/linux/net/ipv4/igmp.c linux/net/ipv4/igmp.c
@@ -1,6 +1,11 @@
 /*
  *	Linux NET3:	Internet Gateway Management Protocol  [IGMP]
  *
+ *	This code implements the IGMP protocol as defined in RFC1122. There has
+ *	been a further revision of this protocol since, but since it is not 
+ *	cleanly specified in any IETF standards we implement the old one properly
+ *	rather than play a game of guess the BSD unofficial extensions.
+ *
  *	Authors:
  *		Alan Cox <[email protected]>	
  *
@@ -206,7 +211,7 @@
 }
 
 int igmp_rcv(struct sk_buff *skb, struct device *dev, struct options *opt,
-	unsigned long daddr, unsigned short len, unsigned long saddr, int redo,
+	__u32 daddr, unsigned short len, __u32 saddr, int redo,
 	struct inet_protocol *protocol)
 {
 	/* This basically follows the spec line by line -- see RFC1112 */

FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected] with Sam's (original) version
of this