TITLE:=Netfilter LOG over NFNETLINK interface - FILES:=$(LINUX_DIR)/net/netfilter/nfnetlink_log.$(LINUX_KMOD_SUFFIX) - KCONFIG:=CONFIG_NETFILTER_NETLINK_LOG - AUTOLOAD:=$(call AutoLoad,48,nfnetlink_log) + # FILES:=$(LINUX_DIR)/net/netfilter/nfnetlink_log.$(LINUX_KMOD_SUFFIX) + # KCONFI...
+$(eval $(call nf_add,NFNETLINK_QUEUE,CONFIG_NETFILTER_NETLINK_QUEUE, $(P_XT)nfnetlink_queue)) +$(eval $(call nf_add,NFNETLINK_QUEUE,CONFIG_NETFILTER_XT_TARGET_NFQUEUE, $(P_XT)xt_NFQUEUE)) + + # userland only IPT_BUILTIN += $(IPT_CORE-y) $(IPT_CORE-m) IPT_BUILTIN += $(I...
nfqueue.PacketHandler interface q.queue = nfqueue.NewQueue(q.id, q, queueCfg) return q } // Start the queue. func (q *Queue) Start() error { return q.queue.Start() } // Stop the queue. func (q *Queue) Stop() error { return q.queue.Stop() } // Handle a nfqueue packet. ...
{ id: id, } queueCfg := &nfqueue.QueueConfig{ MaxPackets: 1000, BufferSize: 16 * 1024 * 1024, QueueFlags: []nfqueue.QueueFlag{nfqueue.FailOpen}, } // Pass as packet handler the current instance because it implements nfqueue.PacketHandler interface q.queue = nfqueue.NewQueue(q.id, q...