All of lore.kernel.org
 help / color / mirror / Atom feed
* Counter problem in a new nat target.
@ 2003-12-08 11:53 Emmanuel Guiton
  2003-12-08 12:28 ` Henrik Nordstrom
  0 siblings, 1 reply; 13+ messages in thread
From: Emmanuel Guiton @ 2003-12-08 11:53 UTC (permalink / raw)
  To: netfilter-devel

Hi!

I need to include a counter in my new nat target function (basically to 
know how many connections for a particular target are curently 
registered in the nat table). I had first though about including a 
simple integer in my targinfo, but I just noticed that it is passed to 
the target function as a const. Thus it does not work.
Does someone has a good advice on where I can store my variable? Can I 
use the void *userdata ? (I do not really know to what it points).

Thanks,

          Emmanuel

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2003-12-11  8:20 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-08 11:53 Counter problem in a new nat target Emmanuel Guiton
2003-12-08 12:28 ` Henrik Nordstrom
2003-12-09 10:01   ` Emmanuel Guiton
2003-12-09 10:15     ` Henrik Nordstrom
2003-12-09 13:48       ` Emmanuel Guiton
2003-12-09 16:16         ` Henrik Nordstrom
2003-12-10  8:35       ` Jesse Peng
2003-12-10 11:00         ` Emmanuel Guiton
2003-12-10 11:15           ` Henrik Nordstrom
2003-12-10 12:52             ` Emmanuel Guiton
2003-12-10 14:19               ` Henrik Nordstrom
2003-12-11  3:20                 ` Jesse Peng
2003-12-11  8:20                   ` Henrik Nordstrom

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.