diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2010-10-19 04:19:06 -0400 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2010-10-19 04:19:06 -0400 |
commit | ebbf41df4aabb6d506fa18ea8cb4c2b4388a18b9 (patch) | |
tree | 16ea6ca8a2382e399798a087fcbeb63380b21f03 /include/net | |
parent | 43f974cdb4ab6d65f849610deb9ef738d62b2e65 (diff) |
netfilter: ctnetlink: add expectation deletion events
This patch allows to listen to events that inform about
expectations destroyed.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/netfilter/nf_conntrack_expect.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/net/netfilter/nf_conntrack_expect.h b/include/net/netfilter/nf_conntrack_expect.h index 416b83844485..0f8a8c587532 100644 --- a/include/net/netfilter/nf_conntrack_expect.h +++ b/include/net/netfilter/nf_conntrack_expect.h | |||
@@ -82,7 +82,13 @@ struct nf_conntrack_expect * | |||
82 | nf_ct_find_expectation(struct net *net, u16 zone, | 82 | nf_ct_find_expectation(struct net *net, u16 zone, |
83 | const struct nf_conntrack_tuple *tuple); | 83 | const struct nf_conntrack_tuple *tuple); |
84 | 84 | ||
85 | void nf_ct_unlink_expect(struct nf_conntrack_expect *exp); | 85 | void nf_ct_unlink_expect_report(struct nf_conntrack_expect *exp, |
86 | u32 pid, int report); | ||
87 | static inline void nf_ct_unlink_expect(struct nf_conntrack_expect *exp) | ||
88 | { | ||
89 | nf_ct_unlink_expect_report(exp, 0, 0); | ||
90 | } | ||
91 | |||
86 | void nf_ct_remove_expectations(struct nf_conn *ct); | 92 | void nf_ct_remove_expectations(struct nf_conn *ct); |
87 | void nf_ct_unexpect_related(struct nf_conntrack_expect *exp); | 93 | void nf_ct_unexpect_related(struct nf_conntrack_expect *exp); |
88 | void nf_ct_remove_userspace_expectations(void); | 94 | void nf_ct_remove_userspace_expectations(void); |