summaryrefslogtreecommitdiffstats
path: root/libnfnetlink.h
diff options
context:
space:
mode:
author/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org>2005-07-27 19:21:54 +0000
committer/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org>2005-07-27 19:21:54 +0000
commita8e6e8ae4ba2fdd6afb640623f140c102a70a3e4 (patch)
tree816fcc5c284939c66a289205efb271ab9d65364f /libnfnetlink.h
parent7f46446e093c9ca10db39b8d3845725ead99bb74 (diff)
add nfnl_parse_hdr() function
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 *);