Home
last modified time | relevance | path

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

/linux-6.3-rc2/include/net/
A Dmpls.h15 struct mpls_shim_hdr { struct
25 static inline struct mpls_shim_hdr *mpls_hdr(const struct sk_buff *skb) in mpls_hdr() argument
27 return (struct mpls_shim_hdr *)skb_network_header(skb); in mpls_hdr()
30 static inline struct mpls_shim_hdr mpls_entry_encode(u32 label, in mpls_entry_encode()
35 struct mpls_shim_hdr result; in mpls_entry_encode()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dtc_tun_mplsoudp.c35 struct mpls_shim_hdr *mpls; in generate_ip_tun_hdr()
37 mpls = (struct mpls_shim_hdr *)(udp + 1); in generate_ip_tun_hdr()
/linux-6.3-rc2/net/mpls/
A Dmpls_iptunnel.c33 return en->labels * sizeof(struct mpls_shim_hdr); in mpls_encap_size()
39 struct mpls_shim_hdr *hdr; in mpls_xmit()
A 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()
1706 struct mpls_shim_hdr *nla_label; in nla_put_labels()
1728 struct mpls_shim_hdr *nla_label; in nla_get_labels()
2364 struct mpls_shim_hdr *hdr; in mpls_getroute()
2427 hdr_size = n_labels * sizeof(struct mpls_shim_hdr); in mpls_getroute()
2749 BUILD_BUG_ON(sizeof(struct mpls_shim_hdr) != 4); in mpls_init()
A Dinternal.h174 static inline struct mpls_entry_decoded mpls_entry_decode(struct mpls_shim_hdr *hdr) in mpls_entry_decode()
/linux-6.3-rc2/net/sched/
A Dact_mpls.c23 static __be32 tcf_mpls_get_lse(struct mpls_shim_hdr *lse, in tcf_mpls_get_lse()
/linux-6.3-rc2/net/openvswitch/
A Dactions.c199 struct mpls_shim_hdr *stack; in set_mpls()
/linux-6.3-rc2/net/core/
A Dskbuff.c6139 struct mpls_shim_hdr *lse; in skb_mpls_push()

Completed in 25 milliseconds