BIER neighbor stats
[vpp.git] / src / vpp / stats / stats.reg
1 /*
2  * Copyright (c) 2017 Cisco and/or its affiliates.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at:
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 /**
16  * @file
17  * @brief Client stats registrations
18  *
19  * Each entry is a specific REGISTRATION as
20  * opposed to an API call.
21  *
22  * For instance:
23  * want_stats()
24  *   enables/disables ALL stats entries below for all
25  *   ITEM.
26  *
27  * An item is the an incident of the thing we want stats for
28  * such as a FIB or sw_if_index for interface. In each case the
29  * value ~0 is treated as ALL ITEMs.
30  *
31  * As such want_interface_simple_counters() is translated to
32  * want_per_interface_simple_counters(item=~0)
33  */
34
35
36 stats_reg (IP4_FIB_COUNTERS)
37 stats_reg (IP4_NBR_COUNTERS)
38 stats_reg (IP6_FIB_COUNTERS)
39 stats_reg (IP6_NBR_COUNTERS)
40 stats_reg (PER_INTERFACE_COMBINED_COUNTERS)
41 stats_reg (PER_INTERFACE_SIMPLE_COUNTERS)
42 stats_reg (IP4_MFIB_COUNTERS)
43 stats_reg (IP6_MFIB_COUNTERS)
44 stats_reg (UDP_ENCAP_COUNTERS)
45 stats_reg (BIER_NEIGHBOR_COUNTERS)