mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 21:21:09 -04:00
Add support for parsing MPLS flows to the flow dissector in preparation for adding MPLS match support to cls_flower. Signed-off-by: Benjamin LaHaise <[email protected]> Signed-off-by: Benjamin LaHaise <[email protected]> Reviewed-by: Jakub Kicinski <[email protected]> Cc: "David S. Miller" <[email protected]> Cc: Simon Horman <[email protected]> Cc: Jamal Hadi Salim <[email protected]> Cc: Cong Wang <[email protected]> Cc: Jiri Pirko <[email protected]> Cc: Eric Dumazet <[email protected]> Cc: Hadar Hen Zion <[email protected]> Cc: Gao Feng <[email protected]> Acked-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
12 lines
355 B
C
12 lines
355 B
C
#ifndef _LINUX_MPLS_H
|
|
#define _LINUX_MPLS_H
|
|
|
|
#include <uapi/linux/mpls.h>
|
|
|
|
#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)
|
|
|
|
#endif /* _LINUX_MPLS_H */
|