Lines Matching refs:mac_len
985 C(mac_len); in __skb_clone()
5380 int mac_len, meta_len; in skb_reorder_vlan_header() local
5388 mac_len = skb->data - skb_mac_header(skb); in skb_reorder_vlan_header()
5389 if (likely(mac_len > VLAN_HLEN + ETH_TLEN)) { in skb_reorder_vlan_header()
5391 mac_len - VLAN_HLEN - ETH_TLEN); in skb_reorder_vlan_header()
5549 skb->mac_len += VLAN_HLEN; in skb_vlan_push()
5654 int mac_len, bool ethernet) in skb_mpls_push() argument
5677 mac_len); in skb_mpls_push()
5679 skb_set_network_header(skb, mac_len); in skb_mpls_push()
5686 if (ethernet && mac_len >= ETH_HLEN) in skb_mpls_push()
5706 int skb_mpls_pop(struct sk_buff *skb, __be16 next_proto, int mac_len, in skb_mpls_pop() argument
5714 err = skb_ensure_writable(skb, mac_len + MPLS_HLEN); in skb_mpls_pop()
5720 mac_len); in skb_mpls_pop()
5724 skb_set_network_header(skb, mac_len); in skb_mpls_pop()
5726 if (ethernet && mac_len >= ETH_HLEN) { in skb_mpls_pop()
5756 err = skb_ensure_writable(skb, skb->mac_len + MPLS_HLEN); in skb_mpls_update_lse()