Home
last modified time | relevance | path

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

/linux/include/net/
H A Dmpls.h13 #define MPLS_HLEN 4 macro
/linux/net/mpls/
H A Dmpls_gso.c35 if (unlikely(!mpls_hlen || mpls_hlen % MPLS_HLEN)) in mpls_gso_segment()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun_mplsoudp.c15 return sizeof(struct udphdr) + MPLS_HLEN; in calc_hlen()
/linux/net/openvswitch/
H A Dflow.c795 label_count * MPLS_HLEN); in key_extract_l3l4()
799 memcpy(&lse, skb_inner_network_header(skb), MPLS_HLEN); in key_extract_l3l4()
803 MPLS_HLEN); in key_extract_l3l4()
806 label_count * MPLS_HLEN); in key_extract_l3l4()
H A Ddatapath.h184 #define MAX_L2_LEN (VLAN_ETH_HLEN + 3 * MPLS_HLEN)
H A Dactions.c170 if (!pskb_may_pull(skb, skb_network_offset(skb) + MPLS_HLEN)) in set_mpls()
/linux/net/sched/
H A Dact_mpls.c108 skb_network_offset(skb) + MPLS_HLEN)) in tcf_mpls_act()
/linux/net/core/
H A Dskbuff.c6631 err = skb_cow_head(skb, MPLS_HLEN); in skb_mpls_push()
6640 skb_push(skb, MPLS_HLEN); in skb_mpls_push()
6641 memmove(skb_mac_header(skb) - MPLS_HLEN, skb_mac_header(skb), in skb_mpls_push()
6649 skb_postpush_rcsum(skb, lse, MPLS_HLEN); in skb_mpls_push()
6679 err = skb_ensure_writable(skb, mac_len + MPLS_HLEN); in skb_mpls_pop()
6683 skb_postpull_rcsum(skb, mpls_hdr(skb), MPLS_HLEN); in skb_mpls_pop()
6684 memmove(skb_mac_header(skb) + MPLS_HLEN, skb_mac_header(skb), in skb_mpls_pop()
6687 __skb_pull(skb, MPLS_HLEN); in skb_mpls_pop()
6728 err = skb_ensure_writable(skb, skb->mac_len + MPLS_HLEN); in skb_mpls_update_lse()
6761 if (!pskb_may_pull(skb, skb_network_offset(skb) + MPLS_HLEN)) in skb_mpls_dec_ttl()