From 9657b6ed05cc67273f6bab1751ae98ca4e89f114 Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Mon, 27 Sep 2021 05:24:30 +0200 Subject: conf, tcp: Periodic detection of bound ports for pasta port forwarding Detecting bound ports at start-up time isn't terribly useful: do this periodically instead, if configured. This is only implemented for TCP at the moment, UDP is somewhat more complicated: leave a TODO there. Signed-off-by: Stefano Brivio --- conf.h | 1 + 1 file changed, 1 insertion(+) (limited to 'conf.h') diff --git a/conf.h b/conf.h index 1bb2e73..f95fd52 100644 --- a/conf.h +++ b/conf.h @@ -1 +1,2 @@ void conf(struct ctx *c, int argc, char **argv); +void get_bound_ports(struct ctx *c, int ns, uint8_t proto); -- cgit v1.2.3