Home
last modified time | relevance | path

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

/include/linux/
Dif_vlan.h345 unsigned int mac_len) in __vlan_insert_inner_tag() argument
355 if (likely(mac_len > ETH_TLEN)) in __vlan_insert_inner_tag()
356 memmove(skb->data, skb->data + VLAN_HLEN, mac_len - ETH_TLEN); in __vlan_insert_inner_tag()
359 veth = (struct vlan_ethhdr *)(skb->data + mac_len - ETH_HLEN); in __vlan_insert_inner_tag()
362 if (likely(mac_len >= ETH_TLEN)) { in __vlan_insert_inner_tag()
415 unsigned int mac_len) in vlan_insert_inner_tag() argument
419 err = __vlan_insert_inner_tag(skb, vlan_proto, vlan_tci, mac_len); in vlan_insert_inner_tag()
593 unsigned int vlan_depth = skb->mac_len, parse_depth = VLAN_MAX_DEPTH; in __vlan_get_protocol()
Dskbuff.h818 __u16 mac_len, member
2594 skb->mac_len = skb->network_header - skb->mac_header; in skb_reset_mac_len()
2749 skb_set_mac_header(skb, -skb->mac_len); in skb_mac_header_rebuild()
2750 memmove(skb_mac_header(skb), old_mac, skb->mac_len); in skb_mac_header_rebuild()
3797 int mac_len, bool ethernet);
3798 int skb_mpls_pop(struct sk_buff *skb, __be16 next_proto, int mac_len,
Dnetdevice.h5184 int mac_len) in skb_gso_error_unwind() argument
5191 skb->network_header = skb->mac_header + mac_len; in skb_gso_error_unwind()
5192 skb->mac_len = mac_len; in skb_gso_error_unwind()