All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: Ming-Ching Tiew <mingching.tiew@redtone.com>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: netfilter newbie asking about writing matches
Date: Tue, 25 Jul 2006 03:36:33 +0200	[thread overview]
Message-ID: <44C575A1.3070205@trash.net> (raw)
In-Reply-To: <008b01c6af89$024fc380$0100a8c0@newlife>

Ming-Ching Tiew wrote:
> Well I have asked about the user space counter part of
> xt_statistic match in iptables but get no response in
> netfilter@lists.netfilter.org.
> 
> Now I am getting into the iptables/extensions/libipt_random.c
> itself. It is still using the wrong structure for passing into 
> the kernel.
> 
> I have modified the C program to use struct xt_statistic_info
> in everywhere of the C code. The iptables compiles now.
> But my question is, now the iptables library is libipt_random.so,
> whereis the kernel module is xt_statistic.ko, which part of
> the iptables code which instruct the kernel to use xt_statistic.ko
> for the matching ?
> 
> Don't fire me, I just just a newbie trying hard to get my work
> accomplished.

I have a complete patch for userspace, just wanted to think
about splitting the current single match in two to provide
command line compatibility .. but not sure if this is even
possible. I'll add it soon.

      reply	other threads:[~2006-07-25  1:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-25  1:24 netfilter newbie asking about writing matches Ming-Ching Tiew
2006-07-25  1:36 ` Patrick McHardy [this message]

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=44C575A1.3070205@trash.net \
    --to=kaber@trash.net \
    --cc=mingching.tiew@redtone.com \
    --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.