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