Home
last modified time | relevance | path

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

/Linux-v4.19/include/net/
Dmpls.h22 struct mpls_shim_hdr { struct
32 static inline struct mpls_shim_hdr *mpls_hdr(const struct sk_buff *skb) in mpls_hdr() argument
34 return (struct mpls_shim_hdr *)skb_network_header(skb); in mpls_hdr()
/Linux-v4.19/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.c38 return en->labels * sizeof(struct mpls_shim_hdr); in mpls_encap_size()
44 struct mpls_shim_hdr *hdr; in mpls_xmit()
Daf_mpls.c47 return sizeof(struct mpls_shim_hdr); in ipgre_mpls_encap_hlen()
110 return nh->nh_labels * sizeof(struct mpls_shim_hdr); in mpls_nh_header_size()
161 struct mpls_shim_hdr *hdr; in mpls_multipath_hash()
346 struct mpls_shim_hdr *hdr; in mpls_forward()
1630 struct mpls_shim_hdr *nla_label; in nla_put_labels()
1652 struct mpls_shim_hdr *nla_label; in nla_get_labels()
2121 struct mpls_shim_hdr *hdr; in mpls_getroute()
2185 hdr_size = n_labels * sizeof(struct mpls_shim_hdr); in mpls_getroute()
2507 BUILD_BUG_ON(sizeof(struct mpls_shim_hdr) != 4); in mpls_init()
/Linux-v4.19/net/openvswitch/
Dactions.c188 struct mpls_shim_hdr *new_mpls_lse; in push_mpls()
258 struct mpls_shim_hdr *stack; in set_mpls()