Home
last modified time | relevance | path

Searched refs:mac_len (Results 1 – 3 of 3) sorted by relevance

/include/linux/
Dif_vlan.h337 unsigned int mac_len) in __vlan_insert_inner_tag() argument
347 if (likely(mac_len > ETH_TLEN)) in __vlan_insert_inner_tag()
348 memmove(skb->data, skb->data + VLAN_HLEN, mac_len - ETH_TLEN); in __vlan_insert_inner_tag()
351 veth = (struct vlan_ethhdr *)(skb->data + mac_len - ETH_HLEN); in __vlan_insert_inner_tag()
354 if (likely(mac_len >= ETH_TLEN)) { in __vlan_insert_inner_tag()
407 unsigned int mac_len) in vlan_insert_inner_tag() argument
411 err = __vlan_insert_inner_tag(skb, vlan_proto, vlan_tci, mac_len); in vlan_insert_inner_tag()
585 unsigned int vlan_depth = skb->mac_len, parse_depth = VLAN_MAX_DEPTH; in __vlan_get_protocol()
Dskbuff.h743 __u16 mac_len, member
2450 skb->mac_len = skb->network_header - skb->mac_header; in skb_reset_mac_len()
2600 skb_set_mac_header(skb, -skb->mac_len); in skb_mac_header_rebuild()
2601 memmove(skb_mac_header(skb), old_mac, skb->mac_len); in skb_mac_header_rebuild()
3591 int mac_len, bool ethernet);
3592 int skb_mpls_pop(struct sk_buff *skb, __be16 next_proto, int mac_len,
Dnetdevice.h4641 int mac_len) in skb_gso_error_unwind() argument
4648 skb->network_header = skb->mac_header + mac_len; in skb_gso_error_unwind()
4649 skb->mac_len = mac_len; in skb_gso_error_unwind()