path: root/src/conntrack/build_mnl.c
diff options
authorPablo Neira Ayuso <>2012-04-16 12:13:45 +0200
committerPablo Neira Ayuso <>2012-05-26 16:11:35 +0200
commitd773fb2afc097a08d51eae42740c63142b1752cf (patch)
tree83d60033ed8124ebe77b2993b12c309e94a1433c /src/conntrack/build_mnl.c
parent95b3bf6576165e1bbe23d55d5f15b7ebf9c98dc4 (diff)
expect: add new API to build/parse ctnetlink messages using libmnl
This patch adds support to build and to parse netlink messages from/to one user-space nf_conntrack object. It uses libmnl, thus libnetfilter_conntrack now depends on this library. Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'src/conntrack/build_mnl.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conntrack/build_mnl.c b/src/conntrack/build_mnl.c
index 7aceaf1..997c2c9 100644
--- a/src/conntrack/build_mnl.c
+++ b/src/conntrack/build_mnl.c
@@ -79,7 +79,7 @@ nfct_build_tuple_proto(struct nlmsghdr *nlh, const struct __nfct_tuple *t)
return 0;
-static int
nfct_build_tuple(struct nlmsghdr *nlh, const struct __nfct_tuple *t, int type)
struct nlattr *nest;