All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jacky Luk" <jacky.luk@primecreation.com>
To: netfilter-devel@vger.kernel.org, netfilter@vger.kernel.org
Cc: michael.tso@primecreation.com, michael.soong@primecreation.com
Subject: About the using of libnetfilter_queue!
Date: Wed, 05 Nov 2008 00:14:07 +0800	[thread overview]
Message-ID: <web-4630504@mail.primecreation.com> (raw)

Hi,

I have some questions about the using of 
libnetfilter_queue. I use the RHEL 5.2 to develop my 
application (Kernel: 2.6.18-92.el5). I found that there 
are several strange phenomena when using the API of the 
libnetfilter_queue.

1. The nfq_get_timestamp() always returns the same value 
of the timestamp for all packets retrieved from the 
NFQUEUE. What is the cause of this problem?

2. I cannot set the maximum length of the queue by using 
the function nfq_set_queue_maxlen(). This function always 
returns -1 even though I have inputted the correct 
parameters into this function. I have searched about this 
issue in Google and someone said that kernel >= 2.6.20 
would be supported to use this function. Is it true? If 
so, how can I set the maximum length of the queue when I 
use the kernel = 2.6.18?

Thank you very much!

Regards,

Jacky Luk

                 reply	other threads:[~2008-11-04 16:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=web-4630504@mail.primecreation.com \
    --to=jacky.luk@primecreation.com \
    --cc=michael.soong@primecreation.com \
    --cc=michael.tso@primecreation.com \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=netfilter@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 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.