netfilter: ctnetlink: support selective event delivery
Add two masks for conntrack end expectation events to struct nf_conntrack_ecache
and use them to filter events. Their default value is "all events" when the
event sysctl is on and "no events" when it is off. A following patch will add
specific initializations. Expectation events depend on the ecache struct of
their master conntrack.
Signed-off-by:
Patrick McHardy <kaber@trash.net>
Showing
- include/linux/netfilter/nf_conntrack_common.h 18 additions, 0 deletionsinclude/linux/netfilter/nf_conntrack_common.h
- include/net/netfilter/nf_conntrack_ecache.h 28 additions, 31 deletionsinclude/net/netfilter/nf_conntrack_ecache.h
- net/netfilter/nf_conntrack_core.c 1 addition, 1 deletionnet/netfilter/nf_conntrack_core.c
- net/netfilter/nf_conntrack_netlink.c 1 addition, 1 deletionnet/netfilter/nf_conntrack_netlink.c
Loading
Please register or sign in to comment