aboutgitcodebugslistschat
path: root/tcp.h
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2024-02-28 22:25:20 +1100
committerStefano Brivio <sbrivio@redhat.com>2024-02-29 09:48:27 +0100
commit3b9098aa49bd083a7900dc6e0219bf76e389afd4 (patch)
tree6d80efa34cd6819d5e263bcd3dc5de7b3fb73875 /tcp.h
parent10376e7a2f3780a3591d70da2f7db9b3367e9222 (diff)
downloadpasst-3b9098aa49bd083a7900dc6e0219bf76e389afd4.tar
passt-3b9098aa49bd083a7900dc6e0219bf76e389afd4.tar.gz
passt-3b9098aa49bd083a7900dc6e0219bf76e389afd4.tar.bz2
passt-3b9098aa49bd083a7900dc6e0219bf76e389afd4.tar.lz
passt-3b9098aa49bd083a7900dc6e0219bf76e389afd4.tar.xz
passt-3b9098aa49bd083a7900dc6e0219bf76e389afd4.tar.zst
passt-3b9098aa49bd083a7900dc6e0219bf76e389afd4.zip
fwd: Rename port_fwd.[ch] and their contents
Currently port_fwd.[ch] contains helpers related to port forwarding, particular automatic port forwarding. We're planning to allow much more flexible sorts of forwarding, including both port translation and NAT based on the flow table. This will subsume the existing port forwarding logic, so rename port_fwd.[ch] to fwd.[ch] with matching updates to all the names within. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'tcp.h')
-rw-r--r--tcp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tcp.h b/tcp.h
index 5e6756d..a9b8bf8 100644
--- a/tcp.h
+++ b/tcp.h
@@ -59,8 +59,8 @@ union tcp_listen_epoll_ref {
* @pipe_size: Size of pipes for spliced connections
*/
struct tcp_ctx {
- struct port_fwd fwd_in;
- struct port_fwd fwd_out;
+ struct fwd_ports fwd_in;
+ struct fwd_ports fwd_out;
struct timespec timer_run;
#ifdef HAS_SND_WND
int kernel_snd_wnd;