aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2017-02-08 09:11:57 -0800
committerNeale Ranns <nranns@cisco.com>2017-02-09 09:51:11 +0000
commitc756c1c7903feca20194bf3ba88863307668106a (patch)
tree9d4305a4678e0f874abf9861e9bf247d229bd735 /src
parent6f96649d1b6ade7e4730a3b3d0f479c33fd4d764 (diff)
Improve MFIB doxygen help
Change-Id: Ie490b7fd5238cbad23f0199161cc14324fd9c554 Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src')
-rw-r--r--src/vnet/mfib/ip4_mfib.c4
-rw-r--r--src/vnet/mfib/mfib_entry.c4
-rw-r--r--src/vnet/mfib/mfib_itf.c4
-rw-r--r--src/vnet/mfib/mfib_types.c4
4 files changed, 12 insertions, 4 deletions
diff --git a/src/vnet/mfib/ip4_mfib.c b/src/vnet/mfib/ip4_mfib.c
index 08001c3fa7a..3e7bdd81bbf 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 <table-id>] [index <fib-id>] [<gre-addr>[/<mask>]] [<gre-addr>] [<src-addr> <gre-addr>]",
+ .short_help = "show ip mfib [summary] [table <table-id>] [index <fib-id>] [<grp-addr>[/<mask>]] [<grp-addr>] [<src-addr> <grp-addr>]",
.function = ip4_show_mfib,
};
/* *INDENT-ON* */
diff --git a/src/vnet/mfib/mfib_entry.c b/src/vnet/mfib/mfib_entry.c
index 5170080c4ca..f1b6e8ee84e 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 b9fa1ec6be7..f77b40e743a 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 68b1ac52c82..8452d86f6c6 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) =