aboutsummaryrefslogtreecommitdiff
path: root/net/tap_int.h
diff options
context:
space:
mode:
authorYuri Benditovich <yuri.benditovich@daynix.com>2023-08-01 01:31:46 +0300
committerJason Wang <jasowang@redhat.com>2023-09-18 14:36:13 +0800
commitf03e0cf63b97a2f98d3b642ee5e7b3bb4379b4b1 (patch)
treec79205f8ff2f632b9670b5f354fd3397f7713988 /net/tap_int.h
parent2ab0ec31215e68f7af6b21b62e49141eb7c083e2 (diff)
tap: Add check for USO features
Tap indicates support for USO features according to capabilities of current kernel module. Signed-off-by: Yuri Benditovich <yuri.benditovich@daynix.com> Signed-off-by: Andrew Melnychecnko <andrew@daynix.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, 1 insertions, 0 deletions
diff --git a/net/tap_int.h b/net/tap_int.h
index d8861d81ba..9a2175655b 100644
--- a/net/tap_int.h
+++ b/net/tap_int.h
@@ -37,6 +37,7 @@ 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,
int uso4, int uso6);
void tap_fd_set_vnet_hdr_len(int fd, int len);