netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kristian Evensen <kristian.evensen@gmail.com>
To: netfilter-devel@vger.kernel.org
Subject: Re: Buffering and libnetfilter
Date: Thu, 2 Apr 2009 16:12:43 +0200	[thread overview]
Message-ID: <17e3a8f80904020712r65e6f994g51d95756ef6efb1b@mail.gmail.com> (raw)
In-Reply-To: <17e3a8f80904020612u4ccbff81h5b9a009fe1e81227@mail.gmail.com>

I forgot to add a couple of things. I have tried adjusting the
receiver buffer size with nfnl_rcvbufsiz and also adjusted the rmem
and wmem-proc variables.

I currently just use the test application that comes with the code,
but I never forward the packets (the callback-function just returns
1). Of course the final application want to do this, but my goal is to
find out about the buffersize, how many packets I can keep on the
NFQUEUE and how to make sure I later stay within the limits. When
testing I use iperf and what happens is that the test application
suddenly stops printing out messages (after queuing 37 packets).

Thanks,
Kristian

  reply	other threads:[~2009-04-02 14:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-02 13:12 Buffering and libnetfilter Kristian Evensen
2009-04-02 14:12 ` Kristian Evensen [this message]
2009-04-02 17:22   ` Kristian Evensen

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=17e3a8f80904020712r65e6f994g51d95756ef6efb1b@mail.gmail.com \
    --to=kristian.evensen@gmail.com \
    --cc=netfilter-devel@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).