summaryrefslogtreecommitdiffstats
path: root/src/dnscap.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-09-04 09:27:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-09-04 09:27:09 +0000
commit1b3eac6c9237c6c12222e450d1c1a57b694cd513 (patch)
tree60b31928c005874cc41b95d242aa3b9e8400171a /src/dnscap.h
parentReleasing debian version 2.1.3-2. (diff)
downloaddnscap-1b3eac6c9237c6c12222e450d1c1a57b694cd513.tar.xz
dnscap-1b3eac6c9237c6c12222e450d1c1a57b694cd513.zip
Merging upstream version 2.2.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/dnscap.h')
-rw-r--r--src/dnscap.h10
1 files changed, 10 insertions, 0 deletions
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;