All of lore.kernel.org
 help / color / mirror / Atom feed
* About the using of libnetfilter_queue!
@ 2008-11-04 16:14 Jacky Luk
  0 siblings, 0 replies; only message in thread
From: Jacky Luk @ 2008-11-04 16:14 UTC (permalink / raw)
  To: netfilter-devel, netfilter; +Cc: michael.tso, michael.soong

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-11-04 16:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-04 16:14 About the using of libnetfilter_queue! Jacky Luk

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.