From: Patrick McHardy <kaber@trash.net>
To: Jan Engelhardt <jengelh@medozas.de>
Cc: David Miller <davem@davemloft.net>, netfilter-devel@vger.kernel.org
Subject: Re: RFC: net/netfilter reorganization
Date: Sun, 05 Oct 2008 18:32:20 +0200 [thread overview]
Message-ID: <48E8EC14.5060209@trash.net> (raw)
In-Reply-To: <alpine.LNX.1.10.0810051221560.21891@fbirervta.pbzchgretzou.qr>
Jan Engelhardt wrote:
> On Sunday 2008-10-05 12:21, Patrick McHardy wrote:
>> Thats true. Not using any prefixes requires keeping the
>> upper letter naming convention for targets though (which
>> I don't really mind).
>
> Anybody else's voice on this?
> I'd like to go for $(always lowercase extension name)_{mt,tg}.c if
> noone objects.
> Or, when obvious extensions get combined maybe (like xt_mark and xt_MARK),
> just mark.c and the issue is all gone.
Thats a good point, once we've go for the directory split,
combining matches and targets will not fit into the scheme
very well. And I think that would be a good change.
So I'm very undecided right now, I think I need to let this
settle in my brain first :)
> Now while we are at it.. should future xtables targets (their actual
> name as is used with iptables -j) continue to be uppercase?
I was afraid I would trigger this kind of suggestions. Lets do
one thing at a time, and I don't think we should change too many
of the visible conventions. We can do this in nftables.
>>> I think this is sufficient:
>>>
>>> obj-$(config_foo) += nfct_ftp.o
>>> nfct_ftp-objs := ftp.c
>>>
>>> That way, Mr Developer can use ft<TAB> to get ftp.c, but the
>>> final module that we will be using with modprobe/rmmod still
>>> has the prefix (and we should really have one!)
>> A lot of people are unloading modules in their firewall scripts
>> and that will break.
>>
> Well whether it's nfct_ or nf_conntrack_ is up to you; the point was
> that ftp.c exist for the joy of the developer.
Right, we don't have to change the module names at all, I didn't
think of that.
I think I'm going to get a bit more rest from the workshop before
trying to use my brain again :)
next prev parent reply other threads:[~2008-10-05 16:32 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-05 12:34 RFC: net/netfilter reorganization Patrick McHardy
2008-10-05 13:47 ` Jan Engelhardt
2008-10-05 14:02 ` Patrick McHardy
2008-10-05 14:35 ` Jan Engelhardt
2008-10-05 14:48 ` Patrick McHardy
2008-10-05 16:02 ` David Miller
2008-10-05 16:11 ` Patrick McHardy
2008-10-05 16:15 ` Jan Engelhardt
2008-10-05 16:21 ` Patrick McHardy
2008-10-05 16:25 ` Jan Engelhardt
2008-10-05 16:32 ` Patrick McHardy [this message]
2008-10-05 19:06 ` Jozsef Kadlecsik
2008-10-05 20:28 ` David Miller
2008-10-05 20:33 ` Jan Engelhardt
2008-10-05 20:48 ` Jan Engelhardt
2008-10-05 21:42 ` Jozsef Kadlecsik
2008-10-05 22:00 ` Patrick McHardy
2008-10-05 23:16 ` Jan Engelhardt
2008-10-06 10:07 ` Patrick McHardy
2008-10-07 1:08 ` Jan Engelhardt
2008-10-07 11:34 ` Roman Zippel
2008-10-07 15:30 ` Jan Engelhardt
2008-10-07 17:09 ` Roman Zippel
2008-10-07 17:44 ` Jan Engelhardt
2008-10-13 18:52 ` Roman Zippel
2008-10-17 14:53 ` Jan Engelhardt
2008-10-06 7:23 ` Jozsef Kadlecsik
2008-10-06 10:09 ` Patrick McHardy
2008-10-05 16:17 ` David Miller
2008-10-05 16:22 ` Patrick McHardy
2008-10-06 16:17 ` Jan Engelhardt
2008-10-05 21:51 ` Jozsef Kadlecsik
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=48E8EC14.5060209@trash.net \
--to=kaber@trash.net \
--cc=davem@davemloft.net \
--cc=jengelh@medozas.de \
--cc=netfilter-devel@vger.kernel.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.