aboutgitcodebugslistschat
path: root/tcp_internal.h
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2024-08-21 14:19:57 +1000
committerStefano Brivio <sbrivio@redhat.com>2024-08-21 11:59:29 +0200
commite6feb5a892b4efc2b149883f58915154d6eb349f (patch)
treea7f912dad260d2a5c14ffdbf7aaed62283d6e3de /tcp_internal.h
parent32c386834dd6a30be60f8b90a8d5a17988c91997 (diff)
downloadpasst-e6feb5a892b4efc2b149883f58915154d6eb349f.tar
passt-e6feb5a892b4efc2b149883f58915154d6eb349f.tar.gz
passt-e6feb5a892b4efc2b149883f58915154d6eb349f.tar.bz2
passt-e6feb5a892b4efc2b149883f58915154d6eb349f.tar.lz
passt-e6feb5a892b4efc2b149883f58915154d6eb349f.tar.xz
passt-e6feb5a892b4efc2b149883f58915154d6eb349f.tar.zst
passt-e6feb5a892b4efc2b149883f58915154d6eb349f.zip
treewide: Use "our address" instead of "forwarding address"
The term "forwarding address" to indicate the local-to-passt address was well-intentioned, but ends up being kinda confusing. As discussed on a recent call, let's try "our" instead. (While we're there correct an error in flow_initiate_af()s comments where we referred to parameters by the wrong name). Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'tcp_internal.h')
-rw-r--r--tcp_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcp_internal.h b/tcp_internal.h
index 8b60aab..aa8bb64 100644
--- a/tcp_internal.h
+++ b/tcp_internal.h
@@ -44,7 +44,7 @@
#define TAPFLOW(conn_) (&((conn_)->f.side[TAPSIDE(conn_)]))
#define TAP_SIDX(conn_) (FLOW_SIDX((conn_), TAPSIDE(conn_)))
-#define CONN_V4(conn) (!!inany_v4(&TAPFLOW(conn)->faddr))
+#define CONN_V4(conn) (!!inany_v4(&TAPFLOW(conn)->oaddr))
#define CONN_V6(conn) (!CONN_V4(conn))
/*