summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/net/netisr.h11
-rw-r--r--sys/netinet/in.h4
2 files changed, 9 insertions, 6 deletions
diff --git a/sys/net/netisr.h b/sys/net/netisr.h
index c1223868c2d..7a4a5a6db99 100644
--- a/sys/net/netisr.h
+++ b/sys/net/netisr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: netisr.h,v 1.10 1997/07/23 03:46:02 denny Exp $ */
+/* $OpenBSD: netisr.h,v 1.11 1999/01/07 06:13:35 deraadt Exp $ */
/* $NetBSD: netisr.h,v 1.12 1995/08/12 23:59:24 mycroft Exp $ */
/*
@@ -61,10 +61,11 @@
#define NETISR_CCITT 10 /* same as AF_CCITT */
#define NETISR_ATALK 16 /* same as AF_APPLETALK */
#define NETISR_ARP 18 /* same as AF_LINK */
-#define NETISR_IPX 23 /* same as AF_IPX */
-#define NETISR_ISDN 26 /* same as AF_E164 */
-#define NETISR_NATM 27 /* same as AF_ATM */
-#define NETISR_PPP 28 /* for PPP processing */
+#define NETISR_IPX 23 /* same as AF_IPX */
+#define NETISR_IPV6 24 /* same as AF_INET6 */
+#define NETISR_ISDN 26 /* same as AF_E164 */
+#define NETISR_NATM 27 /* same as AF_ATM */
+#define NETISR_PPP 28 /* for PPP processing */
#ifndef _LOCORE
#ifdef _KERNEL
diff --git a/sys/netinet/in.h b/sys/netinet/in.h
index ec0b122c243..24b3bb70f65 100644
--- a/sys/netinet/in.h
+++ b/sys/netinet/in.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: in.h,v 1.15 1999/01/03 18:20:35 millert Exp $ */
+/* $OpenBSD: in.h,v 1.16 1999/01/07 06:13:34 deraadt Exp $ */
/* $NetBSD: in.h,v 1.20 1996/02/13 23:41:47 christos Exp $ */
/*
@@ -52,12 +52,14 @@
#define IPPROTO_IGMP 2 /* group mgmt protocol */
#define IPPROTO_GGP 3 /* gateway^2 (deprecated) */
#define IPPROTO_IPIP 4 /* IP inside IP */
+#define IPPROTO_IPV4 4 /* IP inside IP */
#define IPPROTO_TCP 6 /* tcp */
#define IPPROTO_EGP 8 /* exterior gateway protocol */
#define IPPROTO_PUP 12 /* pup */
#define IPPROTO_UDP 17 /* user datagram protocol */
#define IPPROTO_IDP 22 /* xns idp */
#define IPPROTO_TP 29 /* tp-4 w/ class negotiation */
+#define IPPROTO_IPV6 51 /* IPv6-in-IPv4 tunnelling */
#define IPPROTO_ESP 50 /* Encap. Security Payload */
#define IPPROTO_AH 51 /* Authentication header */
#define IPPROTO_EON 80 /* ISO cnlp */