Home
last modified time | relevance | path

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

/openbmc/qemu/net/
H A Deth.c278 size_t new_ehdr_size; in eth_strip_vlan_ex() local
284 new_ehdr_size = sizeof(struct eth_header); in eth_strip_vlan_ex()
285 copied = iov_to_buf(iov, iovcnt, iovoff, new_ehdr_buf, new_ehdr_size); in eth_strip_vlan_ex()
290 new_ehdr_size = sizeof(struct eth_header) + sizeof(struct vlan_header); in eth_strip_vlan_ex()
291 copied = iov_to_buf(iov, iovcnt, iovoff, new_ehdr_buf, new_ehdr_size); in eth_strip_vlan_ex()
301 if (copied < new_ehdr_size || be16_to_cpu(*new_ehdr_proto) != vet) { in eth_strip_vlan_ex()
305 copied = iov_to_buf(iov, iovcnt, iovoff + new_ehdr_size, in eth_strip_vlan_ex()
312 *payload_offset = iovoff + new_ehdr_size + sizeof(vlan_hdr); in eth_strip_vlan_ex()
315 return new_ehdr_size; in eth_strip_vlan_ex()