X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvpp%2Fstats%2Fstats.api;h=b429faa901ab86b452fd73523cd52ef902a01e76;hb=9d42087;hp=ec1ca663adcf47e5a7f774bfbb1fb7cf6567b6d6;hpb=0d056e5ede136cd0111dc3f9f41ef7b36a938027;p=vpp.git diff --git a/src/vpp/stats/stats.api b/src/vpp/stats/stats.api index ec1ca663adc..b429faa901a 100644 --- a/src/vpp/stats/stats.api +++ b/src/vpp/stats/stats.api @@ -18,7 +18,7 @@ This file defines the stats API */ -vl_api_version 1.0.0 +option version = "1.0.0"; /** \brief Want Stats, enable/disable ALL stats updates @param client_index - opaque cookie to identify the sender @@ -133,6 +133,34 @@ autoreply define want_ip6_fib_stats u32 pid; }; +/** \brief Want IP4 muilticast FIB Stats, register for continuous stats + @param client_index - opaque cookie to identify the sender + @param context - sender context, to match reply w/ request + @param enable_disable - 1 = enable stats, 0 = disable + @param pid - pid of process requesting stats updates +*/ +autoreply define want_ip4_mfib_stats +{ + u32 client_index; + u32 context; + u32 enable_disable; + u32 pid; +}; + +/** \brief Want IP6 multicast FIB Stats, register for continuous stats + @param client_index - opaque cookie to identify the sender + @param context - sender context, to match reply w/ request + @param enable_disable - 1 = enable stats, 0 = disable + @param pid - pid of process requesting stats updates +*/ +autoreply define want_ip6_mfib_stats +{ + u32 client_index; + u32 context; + u32 enable_disable; + u32 pid; +}; + /** \brief Want IP4 NBR Stats, register for continuous stats @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request @@ -176,6 +204,22 @@ manual_print manual_endian define vnet_ip4_fib_counters vl_api_ip4_fib_counter_t c[count]; }; +typeonly manual_print manual_endian define ip4_mfib_counter +{ + u8 source[4]; + u8 group[4]; + u8 group_length; + u64 packets; + u64 bytes; +}; + +manual_print manual_endian define vnet_ip4_mfib_counters +{ + u32 vrf_id; + u32 count; + vl_api_ip4_mfib_counter_t c[count]; +}; + typeonly manual_print manual_endian define ip4_nbr_counter { u32 address; @@ -216,6 +260,22 @@ manual_print manual_endian define vnet_ip6_fib_counters vl_api_ip6_fib_counter_t c[count]; }; +typeonly manual_print manual_endian define ip6_mfib_counter +{ + u8 source[16]; + u8 group[16]; + u8 group_length; + u64 packets; + u64 bytes; +}; + +manual_print manual_endian define vnet_ip6_mfib_counters +{ + u32 vrf_id; + u32 count; + vl_api_ip6_mfib_counter_t c[count]; +}; + typeonly manual_print manual_endian define ip6_nbr_counter { u64 address[2];