summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2013-09-30 20:09:57 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2013-10-01 13:22:41 +0200
commit386968d321d02571b593b3bbbf39891f44397469 (patch)
tree03415ae3e04ae36cf165b973ded09eced00d7ecb /include
parent5c0d2ffd9cc954b94344795deaaadb1a8fd68b59 (diff)
nfct: src: add nfct_mnl_talk and use it
Add helper function nfct_mnl_talk and use it. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r--include/nfct.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/nfct.h b/include/nfct.h
index ddf9038..93717c5 100644
--- a/include/nfct.h
+++ b/include/nfct.h
@@ -33,4 +33,9 @@ struct nfct_extension {
void nfct_extension_register(struct nfct_extension *ext);
+int nfct_mnl_talk(struct mnl_socket *nl, struct nlmsghdr *nlh,
+ uint32_t seq, uint32_t portid,
+ int (*cb)(const struct nlmsghdr *nlh, void *data),
+ void *data);
+
#endif