summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1997-03-12 13:30:43 +0000
committerJason Downs <downsj@cvs.openbsd.org>1997-03-12 13:30:43 +0000
commit92b5fc6bd680c000d539d603fbf4e71f46999442 (patch)
treeab671db31cab2aa2e2f8799a10a96d17842116a0 /sys
parent79e93151212a6691a6d35131acca9baf78954748 (diff)
Move AF_SIP and put AF_INET6 in the same location as BSD/OS.
I couldn't find any use of AF_SIP in the kernel, didn't check user land.
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/socket.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/sys/socket.h b/sys/sys/socket.h
index 8f16308c9dc..9ecb735e90d 100644
--- a/sys/sys/socket.h
+++ b/sys/sys/socket.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: socket.h,v 1.14 1997/02/28 03:10:02 angelos Exp $ */
+/* $OpenBSD: socket.h,v 1.15 1997/03/12 13:30:42 downsj Exp $ */
/* $NetBSD: socket.h,v 1.14 1996/02/09 18:25:36 christos Exp $ */
/*
@@ -120,13 +120,14 @@ struct linger {
#define AF_CNT 21 /* Computer Network Technology */
#define pseudo_AF_RTIP 22 /* Help Identify RTIP packets */
#define AF_IPX 23 /* Novell Internet Protocol */
-#define AF_SIP 24 /* Simple Internet Protocol */
+#define AF_INET6 24 /* IPv6 */
#define pseudo_AF_PIP 25 /* Help Identify PIP packets */
#define AF_ISDN 26 /* Integrated Services Digital Network*/
#define AF_E164 AF_ISDN /* CCITT E.164 recommendation */
#define AF_NATM 27 /* native ATM access */
#define AF_ENCAP 28
-#define AF_MAX 29
+#define AF_SIP 29 /* Simple Internet Protocol */
+#define AF_MAX 30
/*
* Structure used by kernel to store most
@@ -174,13 +175,14 @@ struct sockproto {
#define PF_XTP pseudo_AF_XTP /* really just proto family, no AF */
#define PF_COIP AF_COIP
#define PF_CNT AF_CNT
-#define PF_SIP AF_SIP
#define PF_IPX AF_IPX /* same format as AF_NS */
+#define PF_INET6 AF_INET6
#define PF_RTIP pseudo_AF_FTIP /* same format as AF_INET */
#define PF_PIP pseudo_AF_PIP
#define PF_ISDN AF_ISDN
#define PF_NATM AF_NATM
#define PF_ENCAP AF_ENCAP
+#define PF_SIP AF_SIP
#define PF_MAX AF_MAX
/*