2014-03-04 00:23:11 +08:00
|
|
|
#ifndef _LINUX_MPLS_H
|
|
|
|
#define _LINUX_MPLS_H
|
|
|
|
|
|
|
|
#include <uapi/linux/mpls.h>
|
|
|
|
|
2017-04-23 04:52:46 +08:00
|
|
|
#define MPLS_TTL_MASK (MPLS_LS_TTL_MASK >> MPLS_LS_TTL_SHIFT)
|
|
|
|
#define MPLS_BOS_MASK (MPLS_LS_S_MASK >> MPLS_LS_S_SHIFT)
|
|
|
|
#define MPLS_TC_MASK (MPLS_LS_TC_MASK >> MPLS_LS_TC_SHIFT)
|
|
|
|
#define MPLS_LABEL_MASK (MPLS_LS_LABEL_MASK >> MPLS_LS_LABEL_SHIFT)
|
|
|
|
|
2014-03-04 00:23:11 +08:00
|
|
|
#endif /* _LINUX_MPLS_H */
|