From 1154021c599257edf2c3dcb4d29f6b4dcb67643a Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Tue, 6 Sep 2011 13:47:43 +0200 Subject: src: add NFQNL_MSG_VERDICT_BATCH support add nfq_set_verdict_batch() and nfq_set_verdict_batch2 (to also set the nfmark of all packets). verdicts sent by the _batch variant will affect all queued skbs whose id is smaller or equal to the given id. This facility is available from Linux 3.1 onwards. Signed-off-by: Florian Westphal Signed-off-by: Pablo Neira Ayuso --- include/libnetfilter_queue/linux_nfnetlink_queue.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/libnetfilter_queue/linux_nfnetlink_queue.h') diff --git a/include/libnetfilter_queue/linux_nfnetlink_queue.h b/include/libnetfilter_queue/linux_nfnetlink_queue.h index 191b094..6b4f86d 100644 --- a/include/libnetfilter_queue/linux_nfnetlink_queue.h +++ b/include/libnetfilter_queue/linux_nfnetlink_queue.h @@ -11,6 +11,7 @@ enum nfqnl_msg_types { NFQNL_MSG_PACKET, /* packet from kernel to userspace */ NFQNL_MSG_VERDICT, /* verdict from userspace to kernel */ NFQNL_MSG_CONFIG, /* connect to a particular queue */ + NFQNL_MSG_VERDICT_BATCH, /* batch verdict from userspace to kernel */ NFQNL_MSG_MAX }; -- cgit v1.2.3