Lines Matching refs:mac_len
1294 skb->mac_len, in skb_dump()
1550 C(mac_len); in __skb_clone()
6194 int mac_len, meta_len; in skb_reorder_vlan_header() local
6202 mac_len = skb->data - skb_mac_header(skb); in skb_reorder_vlan_header()
6203 if (likely(mac_len > VLAN_HLEN + ETH_TLEN)) { in skb_reorder_vlan_header()
6205 mac_len - VLAN_HLEN - ETH_TLEN); in skb_reorder_vlan_header()
6488 int mac_len, bool ethernet) in skb_mpls_push() argument
6511 mac_len); in skb_mpls_push()
6513 skb_set_network_header(skb, mac_len); in skb_mpls_push()
6520 if (ethernet && mac_len >= ETH_HLEN) in skb_mpls_push()
6540 int skb_mpls_pop(struct sk_buff *skb, __be16 next_proto, int mac_len, in skb_mpls_pop() argument
6548 err = skb_ensure_writable(skb, mac_len + MPLS_HLEN); in skb_mpls_pop()
6554 mac_len); in skb_mpls_pop()
6558 skb_set_network_header(skb, mac_len); in skb_mpls_pop()
6560 if (ethernet && mac_len >= ETH_HLEN) { in skb_mpls_pop()
6590 err = skb_ensure_writable(skb, skb->mac_len + MPLS_HLEN); in skb_mpls_update_lse()