1 /* SPDX-License-Identifier: GPL-2.0 */ << 2 #ifndef _LINUX_MPLS_H 1 #ifndef _LINUX_MPLS_H 3 #define _LINUX_MPLS_H 2 #define _LINUX_MPLS_H 4 3 5 #include <uapi/linux/mpls.h> 4 #include <uapi/linux/mpls.h> 6 5 7 #define MPLS_TTL_MASK (MPLS_LS_TTL_M 6 #define MPLS_TTL_MASK (MPLS_LS_TTL_MASK >> MPLS_LS_TTL_SHIFT) 8 #define MPLS_BOS_MASK (MPLS_LS_S_MAS 7 #define MPLS_BOS_MASK (MPLS_LS_S_MASK >> MPLS_LS_S_SHIFT) 9 #define MPLS_TC_MASK (MPLS_LS_TC_MA 8 #define MPLS_TC_MASK (MPLS_LS_TC_MASK >> MPLS_LS_TC_SHIFT) 10 #define MPLS_LABEL_MASK (MPLS_LS_LABEL 9 #define MPLS_LABEL_MASK (MPLS_LS_LABEL_MASK >> MPLS_LS_LABEL_SHIFT) 11 10 12 #endif /* _LINUX_MPLS_H */ 11 #endif /* _LINUX_MPLS_H */ 13 12
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.