aboutgitcodebugslistschat
path: root/passt.h
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2023-11-07 12:40:15 +1100
committerStefano Brivio <sbrivio@redhat.com>2023-11-07 09:53:41 +0100
commit732e24937618f5848e182dc8a38eb170cf079394 (patch)
treef9748dad8026c85506fad12fd8bb400782635be9 /passt.h
parent125c5e52a5c963ead98b175c440314b4c9071143 (diff)
downloadpasst-732e24937618f5848e182dc8a38eb170cf079394.tar
passt-732e24937618f5848e182dc8a38eb170cf079394.tar.gz
passt-732e24937618f5848e182dc8a38eb170cf079394.tar.bz2
passt-732e24937618f5848e182dc8a38eb170cf079394.tar.lz
passt-732e24937618f5848e182dc8a38eb170cf079394.tar.xz
passt-732e24937618f5848e182dc8a38eb170cf079394.tar.zst
passt-732e24937618f5848e182dc8a38eb170cf079394.zip
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 <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'passt.h')
-rw-r--r--passt.h1
1 files changed, 1 insertions, 0 deletions
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 <assert.h>
#include <sys/epoll.h>
+#include "pif.h"
#include "packet.h"
#include "icmp.h"
#include "port_fwd.h"