Patrick McHardy wrote: > commit 5d2b826674d411f99e571fd35ad5722fed077e5e > Author: Patrick McHardy <kaber@xxxxxxxxx> > Date: Fri Jan 18 17:53:14 2008 +0100 > > [LIBNL]: Support conntrack add/delete/query requests > > Signed-off-by: Patrick McHardy <kaber@xxxxxxxxx> > > diff --git a/include/netlink/netfilter/ct.h b/include/netlink/netfilter/ct.h > index 965b869..f554017 100644 > --- a/include/netlink/netfilter/ct.h > +++ b/include/netlink/netfilter/ct.h > @@ -39,6 +39,15 @@ extern void nfnl_ct_put(struct nfnl_ct *); > > extern int nfnl_ct_dump_request(struct nl_handle *); This was just a quick and dirty dump request. nfnl_ct_query covers this now, so we can delete it. > +extern struct nl_msg * nfnl_ct_build_add_request(const struct nfnl_ct *, int); > +extern int nfnl_ct_add(struct nl_handle *, const struct nfnl_ct *, int); > + > +extern struct nl_msg * nfnl_ct_build_delete_request(const struct nfnl_ct *, int); > +extern int nfnl_ct_delete(struct nl_handle *, const struct nfnl_ct *, int); > + > +extern struct nl_msg * nfnl_ct_build_query_request(const struct nfnl_ct *, int); > +extern int nfnl_ct_query(struct nl_handle *, const struct nfnl_ct *, int); > + > extern void nfnl_ct_set_family(struct nfnl_ct *, uint8_t); > extern uint8_t nfnl_ct_get_family(const struct nfnl_ct *); - To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html