aboutgitcodebugslistschat
path: root/tcp.h
diff options
context:
space:
mode:
Diffstat (limited to 'tcp.h')
-rw-r--r--tcp.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/tcp.h b/tcp.h
index c9455e8..c4f200c 100644
--- a/tcp.h
+++ b/tcp.h
@@ -38,8 +38,10 @@ extern bool peek_offset_cap;
/**
* struct tcp_ctx - Execution context for TCP routines
- * @fwd_in: Port forwarding configuration for inbound packets
- * @fwd_out: Port forwarding configuration for outbound packets
+ * @fwd_in: Forwarding table for inbound flows
+ * @scan_in: Port scanning state for inbound packets
+ * @fwd_out: Forwarding table for outbound flows
+ * @scan_out: Port scanning state for outbound packets
* @timer_run: Timestamp of most recent timer run
* @pipe_size: Size of pipes for spliced connections
* @rto_max: Maximum retry timeout (in s)
@@ -49,8 +51,10 @@ extern bool peek_offset_cap;
* @inactivity_run: Time we last scanned for inactive connections
*/
struct tcp_ctx {
- struct fwd_ports fwd_in;
- struct fwd_ports fwd_out;
+ struct fwd_table fwd_in;
+ struct fwd_scan scan_in;
+ struct fwd_table fwd_out;
+ struct fwd_scan scan_out;
struct timespec timer_run;
size_t pipe_size;
int rto_max;