[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1519944528.11375.5.camel@gmail.com>
Date: Thu, 01 Mar 2018 14:48:48 -0800
From: Eric Dumazet <eric.dumazet@...il.com>
To: Roopa Prabhu <roopa@...ulusnetworks.com>, davem@...emloft.net,
netdev@...r.kernel.org
Cc: dsa@...ulusnetworks.com, nikolay@...ulusnetworks.com,
idosch@...lanox.com, pabeni@...hat.com
Subject: Re: [PATCH net-next v2 1/5] net: fib_rules: support for match on
ip_proto, sport and dport
On Tue, 2018-02-27 at 19:52 -0800, Roopa Prabhu wrote:
> From: Roopa Prabhu <roopa@...ulusnetworks.com>
>
> uapi for ip_proto, sport and dport range match
> in fib rules.
Hi Roopa
FRA_UNSPEC,
> FRA_DST, /* destination address */
> @@ -59,6 +64,9 @@ enum {
> FRA_L3MDEV, /* iif or oif is l3mdev goto its table */
> FRA_UID_RANGE, /* UID range */
> FRA_PROTOCOL, /* Originator of the rule */
> + FRA_IP_PROTO, /* ip proto */
> + FRA_SPORT_RANGE, /* sport */
> + FRA_DPORT_RANGE, /* dport */
> __FRA_MAX
> };
It seems you forgot to update FRA_GENERIC_POLICY ?
Thanks !
Powered by blists - more mailing lists