Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Simon Wunderlich | f3baa39 | 2014-03-03 17:23:11 +0100 | [diff] [blame] | 2 | #ifndef _LINUX_MPLS_H |
| 3 | #define _LINUX_MPLS_H |
| 4 | |
| 5 | #include <uapi/linux/mpls.h> |
| 6 | |
Benjamin LaHaise | 029c1ec | 2017-04-22 16:52:46 -0400 | [diff] [blame] | 7 | #define MPLS_TTL_MASK (MPLS_LS_TTL_MASK >> MPLS_LS_TTL_SHIFT) |
| 8 | #define MPLS_BOS_MASK (MPLS_LS_S_MASK >> MPLS_LS_S_SHIFT) |
| 9 | #define MPLS_TC_MASK (MPLS_LS_TC_MASK >> MPLS_LS_TC_SHIFT) |
| 10 | #define MPLS_LABEL_MASK (MPLS_LS_LABEL_MASK >> MPLS_LS_LABEL_SHIFT) |
| 11 | |
Simon Wunderlich | f3baa39 | 2014-03-03 17:23:11 +0100 | [diff] [blame] | 12 | #endif /* _LINUX_MPLS_H */ |