From: Roopa Prabhu Date: Thu, 25 May 2017 17:42:38 +0000 (-0700) Subject: net: ipv4: add new RTM_F_FIB_MATCH flag for use with RTM_GETROUTE X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0be1b305d9b808e5b28e74f4ef807851c14c39f2;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git net: ipv4: add new RTM_F_FIB_MATCH flag for use with RTM_GETROUTE This flag when specified will return matched fib result in response to a RTM_GETROUTE query. Signed-off-by: Roopa Prabhu Signed-off-by: David S. Miller --- diff --git a/include/uapi/linux/rtnetlink.h b/include/uapi/linux/rtnetlink.h index 6487b21b2c1e..564790e854f7 100644 --- a/include/uapi/linux/rtnetlink.h +++ b/include/uapi/linux/rtnetlink.h @@ -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 */