Searched refs:vlan_hlen (Results 1 – 4 of 4) sorted by relevance
206 int vlan_hlen) in virtio_net_hdr_from_skb() argument234 skb_checksum_start_offset(skb) + vlan_hlen); in virtio_net_hdr_from_skb()
816 int *vlan_hlen) in nft_payload_set_vlan() argument823 *vlan_hlen = VLAN_HLEN; in nft_payload_set_vlan()860 int offset, csum_offset, vlan_hlen = 0; in nft_payload_set_eval() local873 &vlan_hlen)) in nft_payload_set_eval()876 if (!vlan_hlen) in nft_payload_set_eval()880 offset = skb_mac_header(skb) - skb->data - vlan_hlen; in nft_payload_set_eval()
2098 int vlan_hlen = 0; in tun_put_user() local2102 vlan_hlen = VLAN_HLEN; in tun_put_user()2107 total = skb->len + vlan_hlen + vnet_hdr_sz; in tun_put_user()2131 vlan_hlen)) { in tun_put_user()2153 if (vlan_hlen) { in tun_put_user()2176 dev_sw_netstats_tx_add(tun->dev, 1, skb->len + vlan_hlen); in tun_put_user()
800 int vlan_hlen = skb_vlan_tag_present(skb) ? VLAN_HLEN : 0; in tap_put_user() local809 vlan_hlen)) in tap_put_user()