Searched refs:MPLS_HLEN (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/include/net/ |
H A D | mpls.h | 13 #define MPLS_HLEN 4 macro
|
/openbmc/linux/net/mpls/ |
H A D | mpls_gso.c | 35 if (unlikely(!mpls_hlen || mpls_hlen % MPLS_HLEN)) in mpls_gso_segment()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | tc_tun_mplsoudp.c | 15 return sizeof(struct udphdr) + MPLS_HLEN; in calc_hlen()
|
/openbmc/linux/net/openvswitch/ |
H A D | flow.c | 799 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 D | actions.c | 46 #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 D | skbuff.c | 6163 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 D | act_mpls.c | 110 skb_network_offset(skb) + MPLS_HLEN)) in tcf_mpls_act()
|