From: James King <t.james.king@gmail.com>
To: Jan Engelhardt <jengelh@medozas.de>
Cc: kaber@trash.net,
Netfilter Developer Mailing List
<netfilter-devel@vger.kernel.org>
Subject: Re: netfilter: xtables: Combine ipt_TTL and ip6t_HL source
Date: Tue, 20 Jan 2009 14:37:47 -0800 [thread overview]
Message-ID: <38bcb3ec0901201437t6ba198c8w83ecea8e3e6d4cde@mail.gmail.com> (raw)
In-Reply-To: <alpine.LSU.2.00.0901201415470.16288@fbirervta.pbzchgretzou.qr>
On Tue, Jan 20, 2009 at 5:16 AM, Jan Engelhardt <jengelh@medozas.de> wrote:
> parent b0b47dffd52c2eca62bc9a7d4fdf2cd4a2022e47 (v2.6.29-rc2-16-gb0b47df)
> commit 46094aad3697c8196da64c0d5bc64c8f14557fe1
> Author: Jan Engelhardt <jengelh@medozas.de>
> Date: Sun Jan 18 09:02:53 2009 +0100
>
> netfilter: xtables: Combine ipt_TTL and ip6t_HL source
>
> Suggested by: James King <t.james.king@gmail.com>
>
> Similarly to commit c9fd49680954714473d6cbd2546d6ff120f96840, merge
> TTL and HL. Since HL does not depend on any IPv6-specific function,
> no new module dependencies would arise.
>
> With slight adjustments to the Kconfig help text.
>
> Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
> ---
> +static struct xt_target hl_tg_reg[] __read_mostly = {
> + {
> + .name = "TTL",
> + .revision = 0,
> + .family = NFPROTO_IPV4,
> + .target = ttl_tg,
> + .targetsize = sizeof(struct ipt_TTL_info),
> + .table = "mangle",
> + .checkentry = ttl_tg_check,
> + .me = THIS_MODULE,
> + },
> + {
> + .name = "HL",
> + .revision = 0,
> + .family = NFPROTO_IPV6,
> + .target = hl_tg6,
> + .targetsize = sizeof(struct ip6t_HL_info),
> + .table = "mangle",
> + .checkentry = hl_tg6_check,
> + .me = THIS_MODULE,
Can we drop the mangle restriction at the same time? Otherwise, looks
good to me.
next prev parent reply other threads:[~2009-01-20 22:37 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-20 13:16 netfilter: xtables: Combine ipt_TTL and ip6t_HL source Jan Engelhardt
2009-01-20 13:17 ` netfilter: xtables: Combine ipt_ttl and ip6t_hl source Jan Engelhardt
2009-01-20 22:37 ` James King [this message]
2009-01-21 6:48 ` netfilter: xtables: Combine ipt_TTL and ip6t_HL source Jan Engelhardt
2009-01-21 8:08 ` Patrick McHardy
2009-01-21 20:20 ` David Miller
2009-01-22 7:47 ` Patrick McHardy
2009-01-22 19:50 ` Jan Engelhardt
2009-01-26 13:23 ` Patrick McHardy
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=38bcb3ec0901201437t6ba198c8w83ecea8e3e6d4cde@mail.gmail.com \
--to=t.james.king@gmail.com \
--cc=jengelh@medozas.de \
--cc=kaber@trash.net \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).