mpls_shim_hdr
struct mpls_shim_hdr *mpls;
mpls = (struct mpls_shim_hdr *)(udp + 1);
static inline struct mpls_shim_hdr *mpls_hdr(const struct sk_buff *skb)
return (struct mpls_shim_hdr *)skb_network_header(skb);
static inline struct mpls_shim_hdr mpls_entry_encode(u32 label,
struct mpls_shim_hdr result;
struct mpls_shim_hdr *lse;
return nh->nh_labels * sizeof(struct mpls_shim_hdr);
struct mpls_shim_hdr *nla_label;
struct mpls_shim_hdr *nla_label;
struct mpls_shim_hdr *hdr;
struct mpls_shim_hdr *hdr;
hdr_size = n_labels * sizeof(struct mpls_shim_hdr);
BUILD_BUG_ON(sizeof(struct mpls_shim_hdr) != 4);
struct mpls_shim_hdr *hdr;
return sizeof(struct mpls_shim_hdr);
static inline struct mpls_entry_decoded mpls_entry_decode(struct mpls_shim_hdr *hdr)
return en->labels * sizeof(struct mpls_shim_hdr);
struct mpls_shim_hdr *hdr;
struct mpls_shim_hdr *stack;
static __be32 tcf_mpls_get_lse(struct mpls_shim_hdr *lse,