Home
last modified time | relevance | path

Searched refs:mpls_shim_hdr (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.4/include/net/
Dmpls.h14 struct mpls_shim_hdr { struct
24 static inline struct mpls_shim_hdr *mpls_hdr(const struct sk_buff *skb) in mpls_hdr() argument
26 return (struct mpls_shim_hdr *)skb_network_header(skb); in mpls_hdr()
/Linux-v5.4/net/mpls/
Dinternal.h175 static inline struct mpls_shim_hdr mpls_entry_encode(u32 label, unsigned ttl, unsigned tc, bool bos) in mpls_entry_encode()
177 struct mpls_shim_hdr result; in mpls_entry_encode()
186 static inline struct mpls_entry_decoded mpls_entry_decode(struct mpls_shim_hdr *hdr) in mpls_entry_decode()
Dmpls_iptunnel.c33 return en->labels * sizeof(struct mpls_shim_hdr); in mpls_encap_size()
39 struct mpls_shim_hdr *hdr; in mpls_xmit()
Daf_mpls.c46 return sizeof(struct mpls_shim_hdr); in ipgre_mpls_encap_hlen()
109 return nh->nh_labels * sizeof(struct mpls_shim_hdr); in mpls_nh_header_size()
160 struct mpls_shim_hdr *hdr; in mpls_multipath_hash()
345 struct mpls_shim_hdr *hdr; in mpls_forward()
1683 struct mpls_shim_hdr *nla_label; in nla_put_labels()
1705 struct mpls_shim_hdr *nla_label; in nla_get_labels()
2345 struct mpls_shim_hdr *hdr; in mpls_getroute()
2408 hdr_size = n_labels * sizeof(struct mpls_shim_hdr); in mpls_getroute()
2730 BUILD_BUG_ON(sizeof(struct mpls_shim_hdr) != 4); in mpls_init()
/Linux-v5.4/net/sched/
Dact_mpls.c22 static __be32 tcf_mpls_get_lse(struct mpls_shim_hdr *lse, in tcf_mpls_get_lse()
/Linux-v5.4/net/openvswitch/
Dactions.c193 struct mpls_shim_hdr *stack; in set_mpls()
/Linux-v5.4/net/core/
Dskbuff.c5489 struct mpls_shim_hdr *lse; in skb_mpls_push()