diff options
author | Jon Loeliger <jdl@netgate.com> | 2024-03-22 12:22:36 -0500 |
---|---|---|
committer | Matthew Smith <mgsmith@netgate.com> | 2024-04-01 18:06:09 +0000 |
commit | d465fd0819853079c78ad3b6b1a86e2e05c3c142 (patch) | |
tree | 044d9f07de834f97493bd3039039afe8a134eb87 /src/vnet/fib/fib_table.h | |
parent | e98031646a1b858c513d339685d23b8f6e3e8671 (diff) |
fib: add early config support for IP and IP6 default FIB table names
Type: improvement
Change-Id: I8c248d9e224bd069b641a174da57d448371470af
Signed-off-by: Jon Loeliger <jdl@netgate.com>
Diffstat (limited to 'src/vnet/fib/fib_table.h')
-rw-r--r-- | src/vnet/fib/fib_table.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/vnet/fib/fib_table.h b/src/vnet/fib/fib_table.h index 11137e173cf..0eaaa67eea2 100644 --- a/src/vnet/fib/fib_table.h +++ b/src/vnet/fib/fib_table.h @@ -122,6 +122,15 @@ typedef struct fib_table_t_ u8* ft_desc; } fib_table_t; + +/** + * @brief + * Default names for IP4, IP6, and MPLS FIB table index 0. + * Nominally like "ipv4-VRF:0", but this will override that name if set + * in a config section of the startup.conf file. + */ +extern char *fib_table_default_names[FIB_PROTOCOL_MAX]; + /** * @brief * Format the description/name of the table |