All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: robert <rbscott@cadvium.net>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: nfqueue/ipq difference
Date: Fri, 20 Oct 2006 12:02:50 +0200	[thread overview]
Message-ID: <45389ECA.4010504@trash.net> (raw)
In-Reply-To: <1318F807-9466-4960-9ABE-1350E9B81E6C@cadvium.net>

robert wrote:
> As I was migrating to NFQUEUE, I noticed a small difference.  If you 
> are polling on an IPQ filedescriptor, then the error bit is set if  the
> queue runs out of buffer space.  In NFQUEUE, the error bit is  never
> set, but after doing a read, there is an error.  This error bit  is
> relatively important and in most applications would want to handle  a
> read  since both IPQ and NFQUEUE will not queue any new packets  until
> the entire buffer is flushed.  (at least, this is the behavior  that I
> am seeing).
> 
> If anyone is interested, i could post two small test programs that 
> illustrate this behavior. (not sure if this would be considered a bug).

Please, I can not see any difference between ipq and nfnetlink_queue.

      reply	other threads:[~2006-10-20 10:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-17 22:10 nfqueue/ipq difference robert
2006-10-20 10:02 ` Patrick McHardy [this message]

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=45389ECA.4010504@trash.net \
    --to=kaber@trash.net \
    --cc=netfilter-devel@lists.netfilter.org \
    --cc=rbscott@cadvium.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.