Searched refs:vnet_hdr_sz (Results 1 – 2 of 2) sorted by relevance
198 int vnet_hdr_sz; member1123 int vnet_hdr_sz = READ_ONCE(tun->vnet_hdr_sz); in tun_get_user() local1125 if (len < vnet_hdr_sz) in tun_get_user()1127 len -= vnet_hdr_sz; in tun_get_user()1139 iov_iter_advance(from, vnet_hdr_sz - sizeof(gso)); in tun_get_user()1314 int vnet_hdr_sz = 0; in tun_put_user() local1320 vnet_hdr_sz = READ_ONCE(tun->vnet_hdr_sz); in tun_put_user()1322 total = skb->len + vlan_hlen + vnet_hdr_sz; in tun_put_user()1338 if (vnet_hdr_sz) { in tun_put_user()1340 if (iov_iter_count(iter) < vnet_hdr_sz) in tun_put_user()[all …]
39 int vnet_hdr_sz; member542 q->vnet_hdr_sz = sizeof(struct virtio_net_hdr); in macvtap_open()728 vnet_hdr_len = READ_ONCE(q->vnet_hdr_sz); in macvtap_get_user()868 vnet_hdr_len = READ_ONCE(q->vnet_hdr_sz); in macvtap_put_user()1127 s = q->vnet_hdr_sz; in macvtap_ioctl()1138 q->vnet_hdr_sz = s; in macvtap_ioctl()