Home
last modified time | relevance | path

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

/linux-6.12.1/include/net/
Dmpls.h13 #define MPLS_HLEN 4 macro
/linux-6.12.1/net/mpls/
Dmpls_gso.c35 if (unlikely(!mpls_hlen || mpls_hlen % MPLS_HLEN)) in mpls_gso_segment()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun_mplsoudp.c15 return sizeof(struct udphdr) + MPLS_HLEN; in calc_hlen()
/linux-6.12.1/net/openvswitch/
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()
Dactions.c51 #define MAX_L2_LEN (VLAN_ETH_HLEN + 3 * MPLS_HLEN)
210 if (!pskb_may_pull(skb, skb_network_offset(skb) + MPLS_HLEN)) in set_mpls()
/linux-6.12.1/net/core/
Dskbuff.c6447 err = skb_cow_head(skb, MPLS_HLEN); in skb_mpls_push()
6456 skb_push(skb, MPLS_HLEN); in skb_mpls_push()
6457 memmove(skb_mac_header(skb) - MPLS_HLEN, skb_mac_header(skb), in skb_mpls_push()
6465 skb_postpush_rcsum(skb, lse, MPLS_HLEN); in skb_mpls_push()
6495 err = skb_ensure_writable(skb, mac_len + MPLS_HLEN); in skb_mpls_pop()
6499 skb_postpull_rcsum(skb, mpls_hdr(skb), MPLS_HLEN); in skb_mpls_pop()
6500 memmove(skb_mac_header(skb) + MPLS_HLEN, skb_mac_header(skb), in skb_mpls_pop()
6503 __skb_pull(skb, MPLS_HLEN); in skb_mpls_pop()
6537 err = skb_ensure_writable(skb, skb->mac_len + MPLS_HLEN); in skb_mpls_update_lse()
6570 if (!pskb_may_pull(skb, skb_network_offset(skb) + MPLS_HLEN)) in skb_mpls_dec_ttl()
/linux-6.12.1/net/sched/
Dact_mpls.c110 skb_network_offset(skb) + MPLS_HLEN)) in tcf_mpls_act()