diff options
Diffstat (limited to 'src/vnet/fib/fib_types.h')
-rw-r--r-- | src/vnet/fib/fib_types.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/vnet/fib/fib_types.h b/src/vnet/fib/fib_types.h index 60873c4a9db..a7a23d74add 100644 --- a/src/vnet/fib/fib_types.h +++ b/src/vnet/fib/fib_types.h @@ -380,7 +380,13 @@ typedef struct fib_route_path_t_ { /** * [un]equal cost path weight */ - u32 frp_weight; + u16 frp_weight; + /** + * A path preference. 0 is the best. + * Only paths of the best preference, that are 'up', are considered + * for forwarding. + */ + u16 frp_preference; /** * flags on the path */ |