From 81fa0bc63909a67cdd6d321617a2e5648a6a94a2 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 4 Sep 2023 11:27:04 +0200 Subject: Adding upstream version 2.2.0. Signed-off-by: Daniel Baumann --- src/dnscap.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/dnscap.h') diff --git a/src/dnscap.h b/src/dnscap.h index ebdde87..e079ec9 100644 --- a/src/dnscap.h +++ b/src/dnscap.h @@ -297,9 +297,19 @@ struct tcpreasm { size_t bfb_at; }; +struct tcpstate_key { + iaddr* saddr; + iaddr* daddr; + unsigned sport; + unsigned dport; +}; +typedef struct tcpstate_key tcpstate_key; + struct tcpstate { LINK(struct tcpstate) link; + tcpstate_key key; + iaddr saddr; iaddr daddr; uint16_t sport; -- cgit v1.2.3