From 7e416f3c6217687ab35f07e14bd268109d5be4c3 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Thu, 9 Jan 2025 14:15:36 +0100 Subject: src: add support for CTA_TIMESTAMP_EVENT 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 Reviewed-by: Pablo Neira Ayuso --- include/internal/object.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/internal') 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; }; /* -- cgit v1.2.3