API Reference Manual  1.45.0
api/spec/proto_stats.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright (c) 2021 Marvell
3  */
4 
11 #ifndef ODP_API_SPEC_PROTO_STATS_H_
12 #define ODP_API_SPEC_PROTO_STATS_H_
13 #include <odp/visibility_begin.h>
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 
20 
35 
48 
66 
78 
97 
112 
121 
126 #ifdef __cplusplus
127 }
128 #endif
129 
130 #include <odp/visibility_end.h>
131 #endif
ODP proto stats types.
int odp_proto_stats_capability(odp_pktio_t pktio, odp_proto_stats_capability_t *capa)
Get proto stats capability.
int odp_proto_stats(odp_proto_stats_t stat, odp_proto_stats_data_t *data)
Get all proto stats counters.
int odp_proto_stats_destroy(odp_proto_stats_t stat)
Destroy a proto stats object.
odp_proto_stats_t odp_proto_stats_create(const char *name, const odp_proto_stats_param_t *param)
Create a proto stats object.
odp_proto_stats_t odp_proto_stats_lookup(const char *name)
Lookup a proto stats object by name.
void odp_proto_stats_print(odp_proto_stats_t stat)
Print proto stats object info to ODP log.
void odp_proto_stats_param_init(odp_proto_stats_param_t *param)
Initialize proto stats parameters.
ODP proto stats counters.