summaryrefslogtreecommitdiffstats
path: root/include/internal/object.h
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2025-01-09 14:15:36 +0100
committerFlorian Westphal <fw@strlen.de>2025-02-07 13:13:30 +0100
commit7e416f3c6217687ab35f07e14bd268109d5be4c3 (patch)
tree6307ec5bea71a92be28ff472da39ff04627fb4c8 /include/internal/object.h
parenta722c6cf3baebd9ad216daf239fa9a7afc88821d (diff)
src: add support for CTA_TIMESTAMP_EVENTHEADmaster
Allow libnetfilter_conntrack to parse CTA_TIMESTAMP_EVENT attribute. This will be included for all ctnetlink events if the kernel has commit netfilter: conntrack: add conntrack event timestamp and net.netfilter.nf_conntrack_timestamp sysctl is set to 1. Signed-off-by: Florian Westphal <fw@strlen.de> Reviewed-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/internal/object.h')
-rw-r--r--include/internal/object.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/internal/object.h b/include/internal/object.h
index 658e4d2..d72b31c 100644
--- a/include/internal/object.h
+++ b/include/internal/object.h
@@ -201,6 +201,7 @@ struct nf_conntrack {
struct nfct_bitmask *connlabels;
struct nfct_bitmask *connlabels_mask;
+ uint64_t timestamp_event;
};
/*