summary refs log tree commit diff stats
path: root/net/tap_int.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/tap_int.h')
-rw-r--r--net/tap_int.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/tap_int.h b/net/tap_int.h
index 79afdf2d58..d12a409967 100644
--- a/net/tap_int.h
+++ b/net/tap_int.h
@@ -30,11 +30,11 @@
 #include "qapi-types.h"
 
 int tap_open(char *ifname, int ifname_size, int *vnet_hdr,
-             int vnet_hdr_required, int mq_required);
+             int vnet_hdr_required, int mq_required, Error **errp);
 
 ssize_t tap_read_packet(int tapfd, uint8_t *buf, int maxlen);
 
-int tap_set_sndbuf(int fd, const NetdevTapOptions *tap);
+void tap_set_sndbuf(int fd, const NetdevTapOptions *tap, Error **errp);
 int tap_probe_vnet_hdr(int fd);
 int tap_probe_vnet_hdr_len(int fd, int len);
 int tap_probe_has_ufo(int fd);