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 <[email protected]> Signed-off-by: Tom Herbert <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent ce3b535 commit 730fc43

File tree

1 file changed

+2
-0
lines changed
  • include/uapi/linux

1 file changed

+2
-0
lines changed

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)