diff options
author | Neale Ranns <nranns@cisco.com> | 2020-03-17 14:24:09 +0000 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2020-03-19 07:55:52 +0000 |
commit | f14578972a21fe10cd3ff72aaaaea43da4d74d20 (patch) | |
tree | cda62f1323b43c6006de59b9873cf6ae9737403f /src/vnet/fib/fib_types.h | |
parent | 6d97e62c009086030cddb38c5432c8f860b1c02c (diff) |
fib: format functions for path
Type: improvement
Signed-off-by: Neale Ranns <nranns@cisco.com>
Change-Id: Ib7a9e457cb2462e6ce9e5e2af53d1f997f4ae6cf
Diffstat (limited to 'src/vnet/fib/fib_types.h')
-rw-r--r-- | src/vnet/fib/fib_types.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/vnet/fib/fib_types.h b/src/vnet/fib/fib_types.h index 333b2abd240..f5e53038c2d 100644 --- a/src/vnet/fib/fib_types.h +++ b/src/vnet/fib/fib_types.h @@ -397,6 +397,11 @@ typedef enum fib_route_path_flags_t_ } fib_route_path_flags_t; /** + * Format route path flags + */ +extern u8 * format_fib_route_path_flags(u8 *s, va_list *ap); + +/** * An RPF-ID is numerical value that is used RPF validate. An entry * has-a RPF-ID, when a packet egress from (e.g. an LSP) it gains an * RPF-ID, these two are compared for the RPF check. @@ -601,6 +606,11 @@ typedef struct fib_route_path_t_ { extern uword unformat_fib_route_path(unformat_input_t * input, va_list * args); /** + * Format route path flags + */ +extern u8 * format_fib_route_path(u8 *s, va_list *ap); + +/** * A help string to list the FIB path options */ #define FIB_ROUTE_PATH_HELP "[next-hop-address] [next-hop-interface] [next-hop-table <value>] [weight <value>] [preference <value>] [udp-encap-id <value>] [ip4-lookup-in-table <value>] [ip6-lookup-in-table <value>] [mpls-lookup-in-table <value>] [resolve-via-host] [resolve-via-connected] [rx-ip4 <interface>] [out-labels <value value value>]" |