All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: Thomas Jarosch <thomas.jarosch@intra2net.com>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: ipt_ACCOUNT accounting target released
Date: Tue, 27 Apr 2004 02:59:10 +0200	[thread overview]
Message-ID: <408DB05E.6010706@trash.net> (raw)
In-Reply-To: <200404261336.08119.thomas.jarosch@intra2net.com>

Thomas Jarosch wrote:
>>I'm pleased to announce the first alpha release
>>of the high performance ipt_ACCOUNT target module.
>>
>>You can find it here:
>>http://www.intra2net.com/opensource/ipt_account/
> 
> 
> Did anyone had a chance to take a look?
> I really would like to see this one in netfilter CVS ;-)

The pom-ng tar has the include and net directory in the
ACCOUNT directory. You need to place them inside the
linux directory. Also, the target is very long (>1000 lines)
and formatted improperly, this makes it hard to review.
Please stick to Documentation/CodingStyle, especially
regaring overly long lines (>80 chars) and wasted lines:

     if (table_nr == -1)
     {

should be:

     if (table_nr == -1) {

C-style comments are prefered over C++-style comments.
It also looks like some common blocks of code could
be placed in a seperate function, for example the inner
blocks in ipt_account_handle_get_data(). Why does it
need a PAGE_SIZE >= 4096 ?

Please post the patch to the list for easier review.

Regards
Patrick

> 
> Thomas

  reply	other threads:[~2004-04-27  0:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-13 15:31 ipt_ACCOUNT accounting target released Thomas Jarosch
2004-04-26 11:36 ` Thomas Jarosch
2004-04-27  0:59   ` Patrick McHardy [this message]
2004-04-27  8:12     ` Thomas Jarosch
2004-04-27 22:16       ` Patrick McHardy
2004-05-14 16:26         ` Thomas Jarosch

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=408DB05E.6010706@trash.net \
    --to=kaber@trash.net \
    --cc=netfilter-devel@lists.netfilter.org \
    --cc=thomas.jarosch@intra2net.com \
    /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.