aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-06-06 15:10:29 +0000
committerMiles Bader <miles@gnu.org>1996-06-06 15:10:29 +0000
commite550852065422984494fc47111ad4fca0fb0983c (patch)
tree8fef7dfd321df682df00cc4e0e6e9dab86d8ce1f
parent92f3773b4c90ee2752ff391b7b6081eea10b4bca (diff)
downloadglibc-e550852065422984494fc47111ad4fca0fb0983c.zip
glibc-e550852065422984494fc47111ad4fca0fb0983c.tar.gz
glibc-e550852065422984494fc47111ad4fca0fb0983c.tar.bz2
(PF_INET6, AF_INET6): New macros.
-rw-r--r--sysdeps/generic/sys/socket.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/generic/sys/socket.h b/sysdeps/generic/sys/socket.h
index 43a2a64..759ff3b 100644
--- a/sysdeps/generic/sys/socket.h
+++ b/sysdeps/generic/sys/socket.h
@@ -69,7 +69,8 @@ enum __socket_type
#define PF_IPX 23 /* Novell Internet Protocol. */
#define PF_SIP 24 /* Simple Internet Protocol. */
#define PF_PIP 25 /* Help Identify PIP packets. */
-#define PF_MAX 26
+#define PF_INET6 26 /* IP version 6. */
+#define PF_MAX 27
/* Address families. */
#define AF_UNSPEC PF_UNSPEC
@@ -100,6 +101,7 @@ enum __socket_type
#define AF_IPX PF_IPX
#define AF_SIP PF_SIP
#define pseudo_AF_PIP PF_PIP
+#define AF_INET6 PF_INET6
#define AF_MAX PF_MAX