From: Emmanuel Guiton <emmanuel@netlab.hut.fi>
To: netfilter-devel@lists.netfilter.org
Subject: Counter problem in a new nat target.
Date: Mon, 08 Dec 2003 13:53:28 +0200 [thread overview]
Message-ID: <3FD46638.5000300@netlab.hut.fi> (raw)
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
next reply other threads:[~2003-12-08 11:53 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-08 11:53 Emmanuel Guiton [this message]
2003-12-08 12:28 ` Counter problem in a new nat target 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
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=3FD46638.5000300@netlab.hut.fi \
--to=emmanuel@netlab.hut.fi \
--cc=netfilter-devel@lists.netfilter.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.