svn commit: r236157 - head/sys/netinet
Ed Maste
emaste at FreeBSD.org
Sun May 27 16:16:29 UTC 2012
Author: emaste
Date: Sun May 27 16:16:28 2012
New Revision: 236157
URL: http://svn.freebsd.org/changeset/base/236157
Log:
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).
Modified:
head/sys/netinet/in.h
Modified: head/sys/netinet/in.h
==============================================================================
--- head/sys/netinet/in.h Sun May 27 16:08:58 2012 (r236156)
+++ head/sys/netinet/in.h Sun May 27 16:16:28 2012 (r236157)
@@ -241,6 +241,7 @@ __END_DECLS
#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 svn-src-all
mailing list