[Midnightbsd-cvs] src [7868] trunk/sys/netinet/in.h: Add IPPROTO_MPLS (rfc4023) IP protocol definition
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Wed Sep 14 12:19:38 EDT 2016
Revision: 7868
http://svnweb.midnightbsd.org/src/?rev=7868
Author: laffer1
Date: 2016-09-14 12:19:37 -0400 (Wed, 14 Sep 2016)
Log Message:
-----------
Add IPPROTO_MPLS (rfc4023) IP protocol definition
There are currently no in-tree consumers; I'm adding it now for use by
vendor code. This matches the change OpenBSD made while implementing
MPLS in gif(4).
Obtained from: FreeBSD/OpenBSD
Modified Paths:
--------------
trunk/sys/netinet/in.h
Modified: trunk/sys/netinet/in.h
===================================================================
--- trunk/sys/netinet/in.h 2016-09-14 16:18:23 UTC (rev 7867)
+++ trunk/sys/netinet/in.h 2016-09-14 16:19:37 UTC (rev 7868)
@@ -241,6 +241,7 @@
#define IPPROTO_PIM 103 /* Protocol Independent Mcast */
#define IPPROTO_CARP 112 /* CARP */
#define IPPROTO_PGM 113 /* PGM */
+#define IPPROTO_MPLS 137 /* MPLS-in-IP */
#define IPPROTO_PFSYNC 240 /* PFSYNC */
/* 255: Reserved */
/* BSD Private, local use, namespace incursion, no longer used */
More information about the Midnightbsd-cvs
mailing list