aboutsummaryrefslogtreecommitdiff
path: root/net/tap-solaris.c
diff options
context:
space:
mode:
authorAndrew Melnychenko <andrew@daynix.com>2021-05-14 14:48:30 +0300
committerJason Wang <jasowang@redhat.com>2021-06-04 15:25:46 +0800
commit8f364e344c3e71d4cc4e683d21241f6c36d62a5e (patch)
tree5ba18bb9310ff32504c4d5bcb48e4c6e2136c698 /net/tap-solaris.c
parent78258debe03c6034365884cbfb05679d6938aaac (diff)
downloadqemu-8f364e344c3e71d4cc4e683d21241f6c36d62a5e.zip
qemu-8f364e344c3e71d4cc4e683d21241f6c36d62a5e.tar.gz
qemu-8f364e344c3e71d4cc4e683d21241f6c36d62a5e.tar.bz2
net: Added SetSteeringEBPF method for NetClientState.
For now, that method supported only by Linux TAP. Linux TAP uses TUNSETSTEERINGEBPF ioctl. Signed-off-by: Andrew Melnychenko <andrew@daynix.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'net/tap-solaris.c')
-rw-r--r--net/tap-solaris.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/tap-solaris.c b/net/tap-solaris.c
index 0475a58..d852242 100644
--- a/net/tap-solaris.c
+++ b/net/tap-solaris.c
@@ -255,3 +255,8 @@ int tap_fd_get_ifname(int fd, char *ifname)
{
return -1;
}
+
+int tap_fd_set_steering_ebpf(int fd, int prog_fd)
+{
+ return -1;
+}