Home
last modified time | relevance | path

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

/openbmc/linux/include/net/
H A Dmpls.h13 #define MPLS_HLEN 4 macro
/openbmc/linux/net/mpls/
H A Dmpls_gso.c35 if (unlikely(!mpls_hlen || mpls_hlen % MPLS_HLEN)) in mpls_gso_segment()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun_mplsoudp.c15 return sizeof(struct udphdr) + MPLS_HLEN; in calc_hlen()
/openbmc/linux/net/openvswitch/
H A Dflow.c799 label_count * MPLS_HLEN); in key_extract_l3l4()
803 memcpy(&lse, skb_inner_network_header(skb), MPLS_HLEN); in key_extract_l3l4()
807 MPLS_HLEN); in key_extract_l3l4()
810 label_count * MPLS_HLEN); in key_extract_l3l4()
H A Dactions.c46 #define MAX_L2_LEN (VLAN_ETH_HLEN + 3 * MPLS_HLEN)
205 if (!pskb_may_pull(skb, skb_network_offset(skb) + MPLS_HLEN)) in set_mpls()
/openbmc/linux/net/core/
H A Dskbuff.c6163 err = skb_cow_head(skb, MPLS_HLEN); in skb_mpls_push()
6172 skb_push(skb, MPLS_HLEN); in skb_mpls_push()
6173 memmove(skb_mac_header(skb) - MPLS_HLEN, skb_mac_header(skb), in skb_mpls_push()
6181 skb_postpush_rcsum(skb, lse, MPLS_HLEN); in skb_mpls_push()
6211 err = skb_ensure_writable(skb, mac_len + MPLS_HLEN); in skb_mpls_pop()
6215 skb_postpull_rcsum(skb, mpls_hdr(skb), MPLS_HLEN); in skb_mpls_pop()
6216 memmove(skb_mac_header(skb) + MPLS_HLEN, skb_mac_header(skb), in skb_mpls_pop()
6219 __skb_pull(skb, MPLS_HLEN); in skb_mpls_pop()
6253 err = skb_ensure_writable(skb, skb->mac_len + MPLS_HLEN); in skb_mpls_update_lse()
6286 if (!pskb_may_pull(skb, skb_network_offset(skb) + MPLS_HLEN)) in skb_mpls_dec_ttl()
/openbmc/linux/net/sched/
H A Dact_mpls.c110 skb_network_offset(skb) + MPLS_HLEN)) in tcf_mpls_act()