summaryrefslogtreecommitdiffstats
path: root/include/libnetfilter_queue
diff options
context:
space:
mode:
authorDuncan Roe <duncan_roe@optusnet.com.au>2023-11-26 12:53:52 +1100
committerPablo Neira Ayuso <pablo@netfilter.org>2023-12-06 16:32:27 +0100
commit3885d68d8bfe0f830c4a00fef82911f8964a40b5 (patch)
treed4d3db502138e80bd0b24a6f0fce292f1b5f9c06 /include/libnetfilter_queue
parent7917e89bca2eea5fed2ffbe4c7cf84d6d3d9cd02 (diff)
src: Add nfq_nlmsg_put2() - user specifies header flags
Enable mnl programs to get an explicit acknowledgement of whether a configuration request has been accepted. (nfnl programs do this already). Signed-off-by: Duncan Roe <duncan_roe@optusnet.com.au> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/libnetfilter_queue')
-rw-r--r--include/libnetfilter_queue/libnetfilter_queue.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libnetfilter_queue/libnetfilter_queue.h b/include/libnetfilter_queue/libnetfilter_queue.h
index 3d8e444..f254984 100644
--- a/include/libnetfilter_queue/libnetfilter_queue.h
+++ b/include/libnetfilter_queue/libnetfilter_queue.h
@@ -151,6 +151,7 @@ void nfq_nlmsg_verdict_put_pkt(struct nlmsghdr *nlh, const void *pkt, uint32_t p
int nfq_nlmsg_parse(const struct nlmsghdr *nlh, struct nlattr **attr);
struct nlmsghdr *nfq_nlmsg_put(char *buf, int type, uint32_t queue_num);
+struct nlmsghdr *nfq_nlmsg_put2(char *buf, int type, uint32_t queue_num, uint16_t flags);
#ifdef __cplusplus
} /* extern "C" */