patch-1.3.10 linux/include/linux/icmp.h

Next file: linux/include/linux/if_ppp.h
Previous file: linux/include/linux/fdreg.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.9/linux/include/linux/icmp.h linux/include/linux/icmp.h
@@ -59,15 +59,15 @@
 
 
 struct icmphdr {
-  unsigned char		type;
-  unsigned char		code;
-  unsigned short	checksum;
+  __u8		type;
+  __u8		code;
+  __u16		checksum;
   union {
 	struct {
-		unsigned short	id;
-		unsigned short	sequence;
+		__u16	id;
+		__u16	sequence;
 	} echo;
-	unsigned long gateway;
+	__u32	gateway;
   } un;
 };
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this