diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-08-07 14:52:41 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-08-07 14:52:41 +0200 |
commit | a4f4647b4b7f32f2d1caab98544802c8cdd7b4d6 (patch) | |
tree | b311464dece10f101291903bd420d813c9cb8252 /include/conntrackd.h | |
parent | ba0b4bc3d49cebf3ef69c7bc5b6dfd8decb6c8ca (diff) | |
download | conntrack-tools-a4f4647b4b7f32f2d1caab98544802c8cdd7b4d6.tar.gz conntrack-tools-a4f4647b4b7f32f2d1caab98544802c8cdd7b4d6.zip |
netlink: add getter and check existence functions
This patch adds nl_get_conntrack and it changes the behaviour of
nl_exist_conntrack. Now, nl_get_conntrack requests the kernel for
a conntrack and updates the cached entry. On the other hand,
nl_exist_conntrack only inquiries for the existence of the
entry.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/conntrackd.h')
-rw-r--r-- | include/conntrackd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/conntrackd.h b/include/conntrackd.h index 2f0d7e5..60bb2de 100644 --- a/include/conntrackd.h +++ b/include/conntrackd.h @@ -110,6 +110,7 @@ struct ct_general_state { struct nfct_filter *filter; /* event filter */ struct nfct_handle *dump; /* dump handler */ + struct nfct_handle *request; /* request handler */ struct nfct_handle *overrun; /* overrun handler */ struct alarm_block overrun_alarm; |