aboutsummaryrefslogtreecommitdiff
path: root/net/tap_int.h
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki@daynix.com>2024-04-28 16:00:44 +0900
committerJason Wang <jasowang@redhat.com>2024-06-04 15:14:25 +0800
commit52a7ff526964e7810ec1ccc71efbdd60952dd20b (patch)
tree8cef0a19baaeade8ecfac931edcbc3c2497c0574 /net/tap_int.h
parent3ab42e46acf867c45bc929fcc37693e327a35a24 (diff)
downloadqemu-52a7ff526964e7810ec1ccc71efbdd60952dd20b.zip
qemu-52a7ff526964e7810ec1ccc71efbdd60952dd20b.tar.gz
qemu-52a7ff526964e7810ec1ccc71efbdd60952dd20b.tar.bz2
tap: Remove tap_probe_vnet_hdr_len()
It was necessary since an Linux older than 2.6.35 may implement the virtio-net header but may not allow to change its length. Remove it since such an old Linux is no longer supported. Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'net/tap_int.h')
-rw-r--r--net/tap_int.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/tap_int.h b/net/tap_int.h
index 9a21756..8857ff2 100644
--- a/net/tap_int.h
+++ b/net/tap_int.h
@@ -35,7 +35,6 @@ ssize_t tap_read_packet(int tapfd, uint8_t *buf, int maxlen);
void tap_set_sndbuf(int fd, const NetdevTapOptions *tap, Error **errp);
int tap_probe_vnet_hdr(int fd, Error **errp);
-int tap_probe_vnet_hdr_len(int fd, int len);
int tap_probe_has_ufo(int fd);
int tap_probe_has_uso(int fd);
void tap_fd_set_offload(int fd, int csum, int tso4, int tso6, int ecn, int ufo,