[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4720B3DB.7010106@trash.net>
Date: Thu, 25 Oct 2007 17:18:51 +0200
From: Patrick McHardy <kaber@...sh.net>
To: Laszlo Attila Toth <panther@...abit.hu>
CC: David Miller <davem@...emloft.net>, netdev@...r.kernel.org
Subject: Re: [IFGROUPv4 3/3] Netfilter Interface group match
Laszlo Attila Toth wrote:
> +++ b/net/netfilter/xt_ifgroup.c
> +static bool
> +ifgroup_match(const struct sk_buff *skb,
> + const struct net_device *in,
> + const struct net_device *out,
> + const struct xt_match *match,
> + const void *matchinfo,
> + int offset,
> + unsigned int protoff,
> + bool *hotdrop)
> +{
> + const struct xt_ifgroup_info *info = matchinfo;
> +
> + if (info->flags & XT_IFGROUP_MATCH_IN && !ifgroup_match_in(in, info))
> + return false;
> + if (info->flags & XT_IFGROUP_MATCH_OUT && !ifgroup_match_out(out, info))
If you'd remove the extra space it would fit on a 80 character line.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists