Akihiko Odaki 4b52d63249 tap: Remove qemu_using_vnet_hdr()
Since qemu_set_vnet_hdr_len() is always called when
qemu_using_vnet_hdr() is called, we can merge them and save some code.

For consistency, express that the virtio-net header is not in use by
returning 0 with qemu_get_vnet_hdr_len() instead of having a dedicated
function, qemu_get_using_vnet_hdr().

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
2024-06-04 15:14:25 +08:00
..
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-03-10 15:35:38 +08:00
2023-09-20 07:54:34 +03:00
2024-03-12 19:28:32 +08:00
2024-03-12 19:28:32 +08:00
2024-06-04 15:14:25 +08:00
2023-09-20 07:54:34 +03:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-11-13 15:33:37 +08:00
2024-03-12 19:28:31 +08:00
2024-03-12 19:28:31 +08:00
2023-09-20 07:54:34 +03:00
2024-06-04 15:14:25 +08:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2024-06-04 15:14:25 +08:00
2023-05-23 15:20:15 +08:00
2023-12-30 07:38:06 +11:00
2024-02-02 13:51:59 +00:00
2023-12-30 07:38:06 +11:00
2024-03-12 19:28:32 +08:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2024-02-02 13:51:59 +00:00
2024-06-04 15:14:25 +08:00
2024-06-04 15:14:25 +08:00
2023-09-20 07:54:34 +03:00
2023-12-30 07:38:06 +11:00