Re: [PATCH 1/6] netfilter: xtables: consolidate table hook functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 2009-08-10 21:19, Jan Engelhardt wrote:
>+/* The work comes in here from netfilter.c. */
>+static unsigned int
>+iptable_mangle_hook(unsigned int hook,
>+		     struct sk_buff *skb,
>+		     const struct net_device *in,
>+		     const struct net_device *out,
>+		     int (*okfn)(struct sk_buff *))
>+{
>+	if (hook == NF_INET_LOCAL_OUT)
>+		return ipt_local_hook(hook, skb, in, out, okfn);
>+
>+	/* PREROUTING/INPUT/FORWARD: */
>+	return ipt_do_table(skb, hook, in, out,
>+	       dev_net(in)->ipv4.iptable_mangle);
>+}

And the little style nuances are already resolved in the git repo
(diffstat does not change, so I went for a quick repush before
anyone saw it) before we start arguing about the shade of pink
the bikeshed is supposed to have.

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux