Searched refs:MPLS_HLEN (Results 1 – 6 of 6) sorted by relevance
| /Linux-v5.10/include/net/ |
| D | mpls.h | 13 #define MPLS_HLEN 4 macro
|
| /Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| D | tc_tun_mplsoudp.c | 15 return sizeof(struct udphdr) + MPLS_HLEN; in calc_hlen()
|
| /Linux-v5.10/net/openvswitch/ |
| D | flow.c | 648 label_count * MPLS_HLEN); in key_extract_l3l4() 652 memcpy(&lse, skb_inner_network_header(skb), MPLS_HLEN); in key_extract_l3l4() 656 MPLS_HLEN); in key_extract_l3l4() 659 label_count * MPLS_HLEN); in key_extract_l3l4()
|
| D | actions.c | 43 #define MAX_L2_LEN (VLAN_ETH_HLEN + 3 * MPLS_HLEN) 202 if (!pskb_may_pull(skb, skb_network_offset(skb) + MPLS_HLEN)) in set_mpls()
|
| /Linux-v5.10/net/core/ |
| D | skbuff.c | 5666 err = skb_cow_head(skb, MPLS_HLEN); in skb_mpls_push() 5675 skb_push(skb, MPLS_HLEN); in skb_mpls_push() 5676 memmove(skb_mac_header(skb) - MPLS_HLEN, skb_mac_header(skb), in skb_mpls_push() 5684 skb_postpush_rcsum(skb, lse, MPLS_HLEN); in skb_mpls_push() 5714 err = skb_ensure_writable(skb, mac_len + MPLS_HLEN); in skb_mpls_pop() 5718 skb_postpull_rcsum(skb, mpls_hdr(skb), MPLS_HLEN); in skb_mpls_pop() 5719 memmove(skb_mac_header(skb) + MPLS_HLEN, skb_mac_header(skb), in skb_mpls_pop() 5722 __skb_pull(skb, MPLS_HLEN); in skb_mpls_pop() 5756 err = skb_ensure_writable(skb, skb->mac_len + MPLS_HLEN); in skb_mpls_update_lse() 5789 if (!pskb_may_pull(skb, skb_network_offset(skb) + MPLS_HLEN)) in skb_mpls_dec_ttl()
|
| /Linux-v5.10/net/sched/ |
| D | act_mpls.c | 109 skb_network_offset(skb) + MPLS_HLEN)) in tcf_mpls_act()
|