From c756c1c7903feca20194bf3ba88863307668106a Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Wed, 8 Feb 2017 09:11:57 -0800 Subject: Improve MFIB doxygen help Change-Id: Ie490b7fd5238cbad23f0199161cc14324fd9c554 Signed-off-by: Neale Ranns --- src/vnet/mfib/ip4_mfib.c | 4 ++-- src/vnet/mfib/mfib_entry.c | 4 ++++ src/vnet/mfib/mfib_itf.c | 4 ++++ src/vnet/mfib/mfib_types.c | 4 ++-- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/src/vnet/mfib/ip4_mfib.c b/src/vnet/mfib/ip4_mfib.c index 08001c3f..3e7bdd81 100644 --- a/src/vnet/mfib/ip4_mfib.c +++ b/src/vnet/mfib/ip4_mfib.c @@ -457,9 +457,9 @@ ip4_show_mfib (vlib_main_t * vm, * @cliexend ?*/ /* *INDENT-OFF* */ -VLIB_CLI_COMMAND (ip4_show_fib_command, static) = { +VLIB_CLI_COMMAND (ip4_show_mfib_command, static) = { .path = "show ip mfib", - .short_help = "show ip mfib [summary] [table ] [index ] [[/]] [] [ ]", + .short_help = "show ip mfib [summary] [table ] [index ] [[/]] [] [ ]", .function = ip4_show_mfib, }; /* *INDENT-ON* */ diff --git a/src/vnet/mfib/mfib_entry.c b/src/vnet/mfib/mfib_entry.c index 5170080c..f1b6e8ee 100644 --- a/src/vnet/mfib/mfib_entry.c +++ b/src/vnet/mfib/mfib_entry.c @@ -1147,6 +1147,10 @@ show_mfib_entry_command (vlib_main_t * vm, return (NULL); } +/*? + * This commnad displays an entry, or all entries, in the mfib tables indexed by their unique + * numerical indentifier. + ?*/ VLIB_CLI_COMMAND (show_mfib_entry, static) = { .path = "show mfib entry", .function = show_mfib_entry_command, diff --git a/src/vnet/mfib/mfib_itf.c b/src/vnet/mfib/mfib_itf.c index b9fa1ec6..f77b40e7 100644 --- a/src/vnet/mfib/mfib_itf.c +++ b/src/vnet/mfib/mfib_itf.c @@ -112,6 +112,10 @@ show_mfib_itf_command (vlib_main_t * vm, return (NULL); } +/*? + * This commnad displays an MFIB interface, or all interfaces, indexed by their unique + * numerical indentifier. + ?*/ VLIB_CLI_COMMAND (show_mfib_itf, static) = { .path = "show mfib interface", .function = show_mfib_itf_command, diff --git a/src/vnet/mfib/mfib_types.c b/src/vnet/mfib/mfib_types.c index 68b1ac52..8452d86f 100644 --- a/src/vnet/mfib/mfib_types.c +++ b/src/vnet/mfib/mfib_types.c @@ -171,7 +171,7 @@ mfib_show_route_flags (vlib_main_t * vm, } /*? - * This command display the set of support flags applicable to the MFIB route + * This command displays the set of supported flags applicable to an MFIB route */ /* *INDENT-OFF* */ VLIB_CLI_COMMAND (mfib_route_flags_command, static) = @@ -200,7 +200,7 @@ mfib_show_itf_flags (vlib_main_t * vm, } /*? - * This command display the set of support flags applicable to the MFIB route + * This command displays the set of supported flags applicable to an MFIB interface */ /* *INDENT-OFF* */ VLIB_CLI_COMMAND (mfib_itf_flags_command, static) = -- cgit 1.2.3-korg