Thread (18 messages) 18 messages, 6 authors, 2018-03-01

Re: [PATCH net-next v2 1/5] net: fib_rules: support for match on ip_proto, sport and dport

From: Roopa Prabhu <hidden>
Date: 2018-03-01 23:08:21

On Thu, Mar 1, 2018 at 2:48 PM, Eric Dumazet [off-list ref] wrote:
On Tue, 2018-02-27 at 19:52 -0800, Roopa Prabhu wrote:
quoted
From: Roopa Prabhu <redacted>

uapi for ip_proto, sport and dport range match
in fib rules.

Hi Roopa

        FRA_UNSPEC,
quoted
      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 ?
indeed. will submit a fix. thanks Eric!.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help