diff options
Diffstat (limited to 'src/vat/api_format.c')
-rw-r--r-- | src/vat/api_format.c | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/vat/api_format.c b/src/vat/api_format.c index 3a40a55316c..e3d8ab48eb9 100644 --- a/src/vat/api_format.c +++ b/src/vat/api_format.c @@ -16161,6 +16161,24 @@ api_ip_fib_dump (vat_main_t * vam) return ret; } +static int +api_ip_mfib_dump (vat_main_t * vam) +{ + vl_api_ip_mfib_dump_t *mp; + vl_api_control_ping_t *mp_ping; + int ret; + + M (IP_MFIB_DUMP, mp); + S (mp); + + /* Use a control ping for synchronization */ + M (CONTROL_PING, mp_ping); + S (mp_ping); + + W (ret); + return ret; +} + static void vl_api_ip_neighbor_details_t_handler (vl_api_ip_neighbor_details_t * mp) { @@ -16353,6 +16371,24 @@ api_ip6_fib_dump (vat_main_t * vam) return ret; } +static int +api_ip6_mfib_dump (vat_main_t * vam) +{ + vl_api_ip6_mfib_dump_t *mp; + vl_api_control_ping_t *mp_ping; + int ret; + + M (IP6_MFIB_DUMP, mp); + S (mp); + + /* Use a control ping for synchronization */ + M (CONTROL_PING, mp_ping); + S (mp_ping); + + W (ret); + return ret; +} + int api_classify_table_ids (vat_main_t * vam) { @@ -18385,7 +18421,9 @@ _(flow_classify_set_interface, \ "<intfc> | sw_if_index <nn> [ip4-table <nn>] [ip6-table <nn>] [del]") \ _(flow_classify_dump, "type [ip4|ip6]") \ _(ip_fib_dump, "") \ +_(ip_mfib_dump, "") \ _(ip6_fib_dump, "") \ +_(ip6_mfib_dump, "") \ _(feature_enable_disable, "arc_name <arc_name> " \ "feature_name <feature_name> <intfc> | sw_if_index <nn> [disable]") \ _(sw_interface_tag_add_del, "<intfc> | sw_if_index <nn> tag <text>" \ |