summaryrefslogtreecommitdiffstats
path: root/libnfnetlink.h
diff options
context:
space:
mode:
Diffstat (limited to 'libnfnetlink.h')
-rw-r--r--libnfnetlink.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libnfnetlink.h b/libnfnetlink.h
index 6ffd644..137c62e 100644
--- a/libnfnetlink.h
+++ b/libnfnetlink.h
@@ -38,6 +38,10 @@ extern void nfnl_fill_hdr(struct nfnl_handle *, struct nlmsghdr *,
unsigned int, u_int8_t, u_int16_t, u_int16_t,
u_int16_t);
+extern struct nfattr *nfnl_parse_hdr(struct nfnl_handle *nfnlh,
+ const struct nlmsghdr *nlh,
+ struct nfgenmsg **genmsg);
+
extern int nfnl_listen(struct nfnl_handle *,
int (*)(struct sockaddr_nl *, struct nlmsghdr *, void *),
void *);