diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2013-09-30 20:09:57 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2013-10-01 13:22:41 +0200 |
commit | 386968d321d02571b593b3bbbf39891f44397469 (patch) | |
tree | 03415ae3e04ae36cf165b973ded09eced00d7ecb /include | |
parent | 5c0d2ffd9cc954b94344795deaaadb1a8fd68b59 (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.h | 5 |
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 |