net: ipv4: add new RTM_F_FIB_MATCH flag for use with RTM_GETROUTE
authorRoopa Prabhu <roopa@cumulusnetworks.com>
Thu, 25 May 2017 17:42:38 +0000 (10:42 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 May 2017 18:12:50 +0000 (14:12 -0400)
This flag when specified will return matched fib result in
response to a RTM_GETROUTE query.

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/rtnetlink.h

index 6487b21b2c1e4cdb266a98a8c94d86014f141003..564790e854f7d1ab903e85420639806d4381ae81 100644 (file)
@@ -278,6 +278,7 @@ enum rt_scope_t {
 #define RTM_F_EQUALIZE         0x400   /* Multipath equalizer: NI      */
 #define RTM_F_PREFIX           0x800   /* Prefix addresses             */
 #define RTM_F_LOOKUP_TABLE     0x1000  /* set rtm_table to FIB lookup result */
+#define RTM_F_FIB_MATCH                0x2000  /* return full fib lookup match */
 
 /* Reserved table identifiers */