patch-2.1.9 linux/include/linux/in6.h

Next file: linux/include/linux/ipv6.h
Previous file: linux/include/linux/in.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.8/linux/include/linux/in6.h linux/include/linux/in6.h
@@ -27,11 +27,15 @@
 {
 	union 
 	{
-		unsigned char	u6_addr8[16];
+		__u8		u6_addr8[16];
 		__u32		u6_addr32[4];
+#if (~0UL) > 0xffffffff
+		__u64		u6_addr64[2];
+#endif
 	} in6_u;
-#define s6_addr32		in6_u.u6_addr32
 #define s6_addr			in6_u.u6_addr8
+#define s6_addr32		in6_u.u6_addr32
+#define s6_addr64		in6_u.u6_addr64
 };
 
 struct sockaddr_in6 {
@@ -47,7 +51,7 @@
 	struct in6_addr ipv6mr_multiaddr;
 
 	/* local IPv6 address of interface */
-	struct in6_addr ipv6mr_interface;
+	int		ipv6mr_ifindex;
 };
 
 /*

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