Skip to content

Commit 730fc43

Browse files
tomratbertdavem330
authored andcommitted
mpls: Add definition for IPPROTO_MPLS
Add uapi define for MPLS over IP. Acked-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: Tom Herbert <tom@herbertland.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent ce3b535 commit 730fc43

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • include/uapi/linux

‎include/uapi/linux/in.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ enum {
6969
#define IPPROTO_SCTP IPPROTO_SCTP
7070
IPPROTO_UDPLITE = 136, /* UDP-Lite (RFC 3828) */
7171
#define IPPROTO_UDPLITE IPPROTO_UDPLITE
72+
IPPROTO_MPLS = 137, /* MPLS in IP (RFC 4023) */
73+
#define IPPROTO_MPLS IPPROTO_MPLS
7274
IPPROTO_RAW = 255, /* Raw IP packets */
7375
#define IPPROTO_RAW IPPROTO_RAW
7476
IPPROTO_MAX

0 commit comments

Comments
 (0)