From 732e24937618f5848e182dc8a38eb170cf079394 Mon Sep 17 00:00:00 2001 From: David Gibson Date: Tue, 7 Nov 2023 12:40:15 +1100 Subject: pif: Record originating pif in listening socket refs For certain socket types, we record in the epoll ref whether they're sockets in the namespace, or on the host. We now have the notion of "pif" to indicate what "place" a socket is associated with, so generalise the simple one-bit 'ns' to a pif id. Signed-off-by: David Gibson Signed-off-by: Stefano Brivio --- passt.h | 1 + 1 file changed, 1 insertion(+) (limited to 'passt.h') diff --git a/passt.h b/passt.h index 53defa4..cac720a 100644 --- a/passt.h +++ b/passt.h @@ -35,6 +35,7 @@ union epoll_ref; #include #include +#include "pif.h" #include "packet.h" #include "icmp.h" #include "port_fwd.h" -- cgit v1.2.3