aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/interface.api
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2018-11-13 14:04:50 +0100
committerDamjan Marion <dmarion@me.com>2018-12-17 15:02:55 +0000
commitf49ba0e81e0cb9b9f8075cb4ce051b5bacde8ad3 (patch)
tree6f0207e6278193af58a6e9686dc5d13752326c96 /src/vnet/interface.api
parentb6d92d811ce39efd5276d1499afde7a1628d03ca (diff)
stats: Deprecate old stats framework
Change-Id: Iecdf0e5767115ef0570e9ea7212dc4644cf4afbd Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'src/vnet/interface.api')
-rw-r--r--src/vnet/interface.api74
1 files changed, 0 insertions, 74 deletions
diff --git a/src/vnet/interface.api b/src/vnet/interface.api
index 84e0483df67..69de722b78b 100644
--- a/src/vnet/interface.api
+++ b/src/vnet/interface.api
@@ -274,80 +274,6 @@ define sw_interface_get_table_reply
u32 vrf_id;
};
-typeonly manual_print manual_endian define vlib_counter
-{
- u64 packets; /**< packet counter */
- u64 bytes; /**< byte counter */
-};
-
-/** \brief Combined interface counter data type for vnet_interface_combined_counters
- @param sw_if_index - interface indexes for counters
- @param rx_packets - received packet count
- @param rx_bytes - received byte count
- @param rx_unicast_packets - received unicast packet count
- @param rx_unicast_bytes - received unicast byte count
- @param rx_multicast_packets - received multicast packet count
- @param rx_multicast_bytes - received multicast byte count
- @param rx_broadcast_packets - received broadcast packet count
- @param rx_broadcast_bytes - received broadcast byte count
- @param tx_packets - transmitted packet count
- @param tx_bytes - transmitted byte count
- @param tx_unicast_packets - transmitted unicast packet count
- @param tx_unicast_bytes - transmitted unicast byte count
- @param tx_multicast_packets - transmitted multicast packet count
- @param tx_multicast_bytes - transmitted multicast byte count
- @param tx_broadcast_packets - transmitted broadcast packet count
- @param tx_broadcast_bytes - transmitted broadcast byte count
-
-*/
-typeonly manual_print manual_endian define vnet_combined_counter
-{
- u32 sw_if_index;
- u64 rx_packets; /**< packet counter */
- u64 rx_bytes; /**< byte counter */
- u64 rx_unicast_packets; /**< packet counter */
- u64 rx_unicast_bytes; /**< byte counter */
- u64 rx_multicast_packets; /**< packet counter */
- u64 rx_multicast_bytes; /**< byte counter */
- u64 rx_broadcast_packets; /**< packet counter */
- u64 rx_broadcast_bytes; /**< byte counter */
- u64 tx_packets; /**< packet counter */
- u64 tx_bytes; /**< byte counter */
- u64 tx_unicast_packets; /**< packet counter */
- u64 tx_unicast_bytes; /**< byte counter */
- u64 tx_multicast_packets; /**< packet counter */
- u64 tx_multicast_bytes; /**< byte counter */
- u64 tx_broadcast_packets; /**< packet counter */
- u64 tx_broadcast_bytes; /**< byte counter */
-};
-
-/** \brief Simple interface counter data type for vnet_interface_simple_counters
- @param sw_if_index - interface indexes for counters
- @param drop - RX or TX drops due to buffer starvation
- @param punt - used with VNET "punt" disposition
- @param rx_ip4 - received IP4 packets
- @param rx_ip6 - received IP6 packets
- @param rx_no_buffer - no RX buffers available
- @param rx_miss - receive misses
- @param rx_error - receive errors
- @param tx_error - transmit errors
- @param rx_mpls - received MPLS packet
-
-*/
-typeonly manual_print manual_endian define vnet_simple_counter
-{
- u32 sw_if_index;
- u64 drop;
- u64 punt;
- u64 rx_ip4;
- u64 rx_ip6;
- u64 rx_no_buffer;
- u64 rx_miss;
- u64 rx_error;
- u64 tx_error;
- u64 rx_mpls;
-};
-
/** \brief Set unnumbered interface add / del request
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request