From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pablo Neira Ayuso Subject: Re: Problem for nfq_set_queue_maxlen of libnetfilter_queue Date: Fri, 19 Jan 2007 19:21:34 +0100 Message-ID: <45B10C2E.6080204@netfilter.org> References: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii" To: Arthur Liew Cc: netfilter@lists.netfilter.org Arthur Liew wrote: > I don't seem to be able to set max queue len of libnetfilter. The > error I keep getting is > > NFNETLINK answers: Invalid argument > > Any idea why ? The code snippet that cause this is > > u_int32_t qlen = 1024; > if (nfq_set_queue_maxlen(qh, qlen) < 0) > > The version of library I use is > > libnetfilter_queue-0.0.13 > libnfnetlink-0.0.25 > > I have use the test code from libnetfilter_queue-0.0.13/utils with > additional nfq_set_queue_maxlen function Kernel version? -- The dawn of the fourth age of Linux firewalling is coming; a time of great struggle and heroic deeds -- J.Kadlecsik got inspired by J.Morris