diff options
author | Patrick McHardy <kaber@trash.net> | 2008-01-18 16:55:58 (GMT) |
---|---|---|
committer | Thomas Graf <tgr@deb.localdomain> | 2008-02-07 12:13:03 (GMT) |
commit | 596d3bc2e9a55d36667abc9b1339b875abd4e11a (patch) | |
tree | 7170148ea1dc9551840f75886ba8ec699e4fc390 /include/netlink | |
parent | 2f4f8a5094b56c460f4b5bb1b62b7ec8f624942c (diff) | |
download | libnl-596d3bc2e9a55d36667abc9b1339b875abd4e11a.zip libnl-596d3bc2e9a55d36667abc9b1339b875abd4e11a.tar.gz libnl-596d3bc2e9a55d36667abc9b1339b875abd4e11a.tar.bz2 |
[LIBNL]: Support conntrack add/delete/query requests
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include/netlink')
-rw-r--r-- | include/netlink/netfilter/ct.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/netlink/netfilter/ct.h b/include/netlink/netfilter/ct.h index 965b869..f554017 100644 --- a/include/netlink/netfilter/ct.h +++ b/include/netlink/netfilter/ct.h @@ -39,6 +39,15 @@ extern void nfnl_ct_put(struct nfnl_ct *); extern int nfnl_ct_dump_request(struct nl_handle *); +extern struct nl_msg * nfnl_ct_build_add_request(const struct nfnl_ct *, int); +extern int nfnl_ct_add(struct nl_handle *, const struct nfnl_ct *, int); + +extern struct nl_msg * nfnl_ct_build_delete_request(const struct nfnl_ct *, int); +extern int nfnl_ct_delete(struct nl_handle *, const struct nfnl_ct *, int); + +extern struct nl_msg * nfnl_ct_build_query_request(const struct nfnl_ct *, int); +extern int nfnl_ct_query(struct nl_handle *, const struct nfnl_ct *, int); + extern void nfnl_ct_set_family(struct nfnl_ct *, uint8_t); extern uint8_t nfnl_ct_get_family(const struct nfnl_ct *); |