diff options
author | Ole Troan <ot@cisco.com> | 2019-02-26 16:37:03 +0100 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2019-02-28 13:25:22 +0000 |
commit | 703908aaf4f80ef6bc78166d46eba3a3b3aa15f7 (patch) | |
tree | 35bf3939113a8e0db85ec41671cdbbdb4f96d687 /src/vpp-api/client/stat_client.h | |
parent | 8b409635b44fd599eea37c7f259be294141a38bb (diff) |
stats: Add interface name to sw_if_index as /if/names
Expose interface name to sw_if_index table as a directory node in the stats segment.
Change-Id: Ie50e4af01997d141880f02e3a8496bfeb91b9944
Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'src/vpp-api/client/stat_client.h')
-rw-r--r-- | src/vpp-api/client/stat_client.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vpp-api/client/stat_client.h b/src/vpp-api/client/stat_client.h index 89f6fe53ea4..23087abe749 100644 --- a/src/vpp-api/client/stat_client.h +++ b/src/vpp-api/client/stat_client.h @@ -28,6 +28,7 @@ typedef enum STAT_DIR_TYPE_COUNTER_VECTOR_SIMPLE, STAT_DIR_TYPE_COUNTER_VECTOR_COMBINED, STAT_DIR_TYPE_ERROR_INDEX, + STAT_DIR_TYPE_NAME_VECTOR, } stat_directory_type_t; /* Default socket to exchange segment fd */ @@ -45,6 +46,7 @@ typedef struct uint64_t error_value; counter_t **simple_counter_vec; vlib_counter_t **combined_counter_vec; + uint8_t **name_vector; }; } stat_segment_data_t; |