aboutgitcodebugslistschat
path: root/util.h
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2021-09-27 05:24:30 +0200
committerStefano Brivio <sbrivio@redhat.com>2021-09-27 11:23:44 +0200
commit9657b6ed05cc67273f6bab1751ae98ca4e89f114 (patch)
tree556c1dc6e035322d1c9525703863175b9e86d542 /util.h
parente69e13671dcbf3b6964e7bd9d485f267c5fa03cb (diff)
downloadpasst-9657b6ed05cc67273f6bab1751ae98ca4e89f114.tar
passt-9657b6ed05cc67273f6bab1751ae98ca4e89f114.tar.gz
passt-9657b6ed05cc67273f6bab1751ae98ca4e89f114.tar.bz2
passt-9657b6ed05cc67273f6bab1751ae98ca4e89f114.tar.lz
passt-9657b6ed05cc67273f6bab1751ae98ca4e89f114.tar.xz
passt-9657b6ed05cc67273f6bab1751ae98ca4e89f114.tar.zst
passt-9657b6ed05cc67273f6bab1751ae98ca4e89f114.zip
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 <sbrivio@redhat.com>
Diffstat (limited to 'util.h')
-rw-r--r--util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.h b/util.h
index 6402f41..7efde7b 100644
--- a/util.h
+++ b/util.h
@@ -137,5 +137,5 @@ int timespec_diff_ms(struct timespec *a, struct timespec *b);
void bitmap_set(uint8_t *map, int bit);
void bitmap_clear(uint8_t *map, int bit);
int bitmap_isset(uint8_t *map, int bit);
-void procfs_scan_listen(char *name, uint8_t *map);
+void procfs_scan_listen(char *name, uint8_t *map, uint8_t *exclude);
int ns_enter(int target_pid);