Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Arthur Liew <geniusbb@gmail.com>
Cc: netfilter@lists.netfilter.org
Subject: Re: Problem for nfq_set_queue_maxlen of libnetfilter_queue
Date: Fri, 19 Jan 2007 19:21:34 +0100	[thread overview]
Message-ID: <45B10C2E.6080204@netfilter.org> (raw)
In-Reply-To: <bb5ff7280701180736j5473b100q31709f6ebb9effe@mail.gmail.com>

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


  reply	other threads:[~2007-01-19 18:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-18 15:36 Problem for nfq_set_queue_maxlen of libnetfilter_queue Arthur Liew
2007-01-19 18:21 ` Pablo Neira Ayuso [this message]
     [not found]   ` <bb5ff7280701191031h67b845dw12fbf9fdb6bf3133@mail.gmail.com>
2007-01-19 18:32     ` Fwd: " Arthur Liew
     [not found]     ` <45B111BB.3030603@netfilter.org>
2007-01-19 19:03       ` Arthur Liew
2007-01-19 19:07         ` Pablo Neira Ayuso
2007-01-19 19:07         ` Pablo Neira Ayuso

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45B10C2E.6080204@netfilter.org \
    --to=pablo@netfilter.org \
    --cc=geniusbb@gmail.com \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox