Lines Matching refs:mac_len
336 * @mac_len: MAC header length including outer vlan headers
338 * Inserts the VLAN tag into @skb as part of the payload at offset mac_len
345 unsigned int mac_len)
355 if (likely(mac_len > ETH_TLEN))
356 memmove(skb->data, skb->data + VLAN_HLEN, mac_len - ETH_TLEN);
359 veth = (struct vlan_ethhdr *)(skb->data + mac_len - ETH_HLEN);
362 if (likely(mac_len >= ETH_TLEN)) {
402 * @mac_len: MAC header length including outer vlan headers
404 * Inserts the VLAN tag into @skb as part of the payload at offset mac_len
415 unsigned int mac_len)
419 err = __vlan_insert_inner_tag(skb, vlan_proto, vlan_tci, mac_len);
593 unsigned int vlan_depth = skb->mac_len, parse_depth = VLAN_MAX_DEPTH;
596 * present at mac_len - VLAN_HLEN (if mac_len > 0), or at