diff options
Diffstat (limited to 'net/mpls/internal.h')
-rw-r--r-- | net/mpls/internal.h | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/net/mpls/internal.h b/net/mpls/internal.h index fb6de92052c4..b064c345042c 100644 --- a/net/mpls/internal.h +++ b/net/mpls/internal.h | |||
@@ -1,16 +1,6 @@ | |||
1 | #ifndef MPLS_INTERNAL_H | 1 | #ifndef MPLS_INTERNAL_H |
2 | #define MPLS_INTERNAL_H | 2 | #define MPLS_INTERNAL_H |
3 | 3 | ||
4 | #define LABEL_IPV4_EXPLICIT_NULL 0 /* RFC3032 */ | ||
5 | #define LABEL_ROUTER_ALERT_LABEL 1 /* RFC3032 */ | ||
6 | #define LABEL_IPV6_EXPLICIT_NULL 2 /* RFC3032 */ | ||
7 | #define LABEL_IMPLICIT_NULL 3 /* RFC3032 */ | ||
8 | #define LABEL_ENTROPY_INDICATOR 7 /* RFC6790 */ | ||
9 | #define LABEL_GAL 13 /* RFC5586 */ | ||
10 | #define LABEL_OAM_ALERT 14 /* RFC3429 */ | ||
11 | #define LABEL_EXTENSION 15 /* RFC7274 */ | ||
12 | |||
13 | |||
14 | struct mpls_shim_hdr { | 4 | struct mpls_shim_hdr { |
15 | __be32 label_stack_entry; | 5 | __be32 label_stack_entry; |
16 | }; | 6 | }; |
@@ -22,6 +12,12 @@ struct mpls_entry_decoded { | |||
22 | u8 bos; | 12 | u8 bos; |
23 | }; | 13 | }; |
24 | 14 | ||
15 | struct mpls_dev { | ||
16 | int input_enabled; | ||
17 | |||
18 | struct ctl_table_header *sysctl; | ||
19 | }; | ||
20 | |||
25 | struct sk_buff; | 21 | struct sk_buff; |
26 | 22 | ||
27 | static inline struct mpls_shim_hdr *mpls_hdr(const struct sk_buff *skb) | 23 | static inline struct mpls_shim_hdr *mpls_hdr(const struct sk_buff *skb) |