aboutgitcodebugslistschat
path: root/inany.h
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2024-07-18 15:26:28 +1000
committerStefano Brivio <sbrivio@redhat.com>2024-07-19 18:32:37 +0200
commit4e2d36e83fb1ff86c2e7f6d0832827d59f829934 (patch)
tree3057970692f0a3924a12bc27bfbf758db6204030 /inany.h
parent8012f5ff55b64fcfcc8c9512492247153327d3c4 (diff)
downloadpasst-4e2d36e83fb1ff86c2e7f6d0832827d59f829934.tar
passt-4e2d36e83fb1ff86c2e7f6d0832827d59f829934.tar.gz
passt-4e2d36e83fb1ff86c2e7f6d0832827d59f829934.tar.bz2
passt-4e2d36e83fb1ff86c2e7f6d0832827d59f829934.tar.lz
passt-4e2d36e83fb1ff86c2e7f6d0832827d59f829934.tar.xz
passt-4e2d36e83fb1ff86c2e7f6d0832827d59f829934.tar.zst
passt-4e2d36e83fb1ff86c2e7f6d0832827d59f829934.zip
flow: Common address information for target side
Require the address and port information for the target (non initiating) side to be populated when a flow enters TGT state. Implement that for TCP and ICMP. For now this leaves some information redundantly recorded in both generic and type specific fields. We'll fix that in later patches. For TCP we now use the information from the flow to construct the destination socket address in both tcp_conn_from_tap() and tcp_splice_connect(). Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'inany.h')
-rw-r--r--inany.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/inany.h b/inany.h
index 47b66fa..8eaf533 100644
--- a/inany.h
+++ b/inany.h
@@ -187,7 +187,6 @@ static inline bool inany_is_unspecified(const union inany_addr *a)
*
* Return: true if @a is in fe80::/10 (IPv6 link local unicast)
*/
-/* cppcheck-suppress unusedFunction */
static inline bool inany_is_linklocal6(const union inany_addr *a)
{
return IN6_IS_ADDR_LINKLOCAL(&a->a6);