aboutgitcodebugslistschat
path: root/fwd.h
diff options
context:
space:
mode:
Diffstat (limited to 'fwd.h')
-rw-r--r--fwd.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/fwd.h b/fwd.h
index 7792582..934bab3 100644
--- a/fwd.h
+++ b/fwd.h
@@ -16,6 +16,19 @@ struct flowside;
void fwd_probe_ephemeral(void);
bool fwd_port_is_ephemeral(in_port_t port);
+/**
+ * union fwd_listen_ref - information about a single listening socket
+ * @port: Bound port number of the socket
+ * @pif: pif in which the socket is listening
+ */
+union fwd_listen_ref {
+ struct {
+ in_port_t port;
+ uint8_t pif;
+ };
+ uint32_t u32;
+};
+
enum fwd_ports_mode {
FWD_UNSET = 0,
FWD_SPEC = 1,