From 8f364e344c3e71d4cc4e683d21241f6c36d62a5e Mon Sep 17 00:00:00 2001 From: Andrew Melnychenko Date: Fri, 14 May 2021 14:48:30 +0300 Subject: 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 Signed-off-by: Jason Wang --- net/tap_int.h | 1 + 1 file changed, 1 insertion(+) (limited to 'net/tap_int.h') diff --git a/net/tap_int.h b/net/tap_int.h index 225a49ea48..547f8a5a28 100644 --- a/net/tap_int.h +++ b/net/tap_int.h @@ -44,5 +44,6 @@ int tap_fd_set_vnet_be(int fd, int vnet_is_be); int tap_fd_enable(int fd); int tap_fd_disable(int fd); int tap_fd_get_ifname(int fd, char *ifname); +int tap_fd_set_steering_ebpf(int fd, int prog_fd); #endif /* NET_TAP_INT_H */ -- cgit v1.2.3