History

mpls: Change reserved label names to be consistent with netbsd

Since these are now visible to userspace it is nice to be consistent with BSD (sys/netmpls/mpls.h in netBSD).

Tom Herbert committed 11 years ago

Commit 78f5b891 parent 7c0004d2 files · +15 −15Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/mpls.h+6−6
@@ -32,13 +32,13 @@ struct mpls_label { · 31 unmodified lines
3232 #define MPLS_LS_TTL_SHIFT 0
3333
3434 /* Reserved labels */
35−#define MPLS_LABEL_IPV4_EXPLICIT_NULL 0 /* RFC3032 */
36−#define MPLS_LABEL_ROUTER_ALERT 1 /* RFC3032 */
37−#define MPLS_LABEL_IPV6_EXPLICIT_NULL 2 /* RFC3032 */
38−#define MPLS_LABEL_IMPLICIT_NULL 3 /* RFC3032 */
39−#define MPLS_LABEL_ENTROPY_INDICATOR 7 /* RFC6790 */
35+#define MPLS_LABEL_IPV4NULL 0 /* RFC3032 */
36+#define MPLS_LABEL_RTALERT 1 /* RFC3032 */
37+#define MPLS_LABEL_IPV6NULL 2 /* RFC3032 */
38+#define MPLS_LABEL_IMPLNULL 3 /* RFC3032 */
39+#define MPLS_LABEL_ENTROPY 7 /* RFC6790 */
4040 #define MPLS_LABEL_GAL 13 /* RFC5586 */
41−#define MPLS_LABEL_OAM_ALERT 14 /* RFC3429 */
41+#define MPLS_LABEL_OAMALERT 14 /* RFC3429 */
4242 #define MPLS_LABEL_EXTENSION 15 /* RFC7274 */
4343
4444 #endif /* _UAPI_MPLS_H */