patch-1.3.21 linux/include/linux/in.h

Next file: linux/include/linux/mm.h
Previous file: linux/include/linux/if_ether.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.20/linux/include/linux/in.h linux/include/linux/in.h
@@ -127,4 +127,23 @@
 
 #endif
 
+/*
+ *	IPv6 definitions as we start to include them. This is just
+ *	a beginning dont get excited 8)
+ */
+ 
+struct in_addr6
+{
+	unsigned char s6_addr[16];
+};
+
+struct sockaddr_in6
+{
+	unsigned short sin6_family;
+	unsigned short sin6_port;
+	unsigned long sin6_flowinfo;
+	struct in_addr6 sin6_addr;
+};
+
+
 #endif	/* _LINUX_IN_H */

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