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!.