#ifndef __NET_TC_MPLS_H
#define __NET_TC_MPLS_H
#include <linux/tc_act/tc_mpls.h>
#include <net/act_api.h>
struct tcf_mpls_params { … };
#define ACT_MPLS_TC_NOT_SET …
#define ACT_MPLS_BOS_NOT_SET …
#define ACT_MPLS_LABEL_NOT_SET …
struct tcf_mpls { … };
#define to_mpls(a) …
static inline bool is_tcf_mpls(const struct tc_action *a)
{ … }
static inline u32 tcf_mpls_action(const struct tc_action *a)
{ … }
static inline __be16 tcf_mpls_proto(const struct tc_action *a)
{ … }
static inline u32 tcf_mpls_label(const struct tc_action *a)
{ … }
static inline u8 tcf_mpls_tc(const struct tc_action *a)
{ … }
static inline u8 tcf_mpls_bos(const struct tc_action *a)
{ … }
static inline u8 tcf_mpls_ttl(const struct tc_action *a)
{ … }
#endif