DPDK
25.11.0
Toggle main menu visibility
Loading...
Searching...
No Matches
rte_bitrate.h
1
/* SPDX-License-Identifier: BSD-3-Clause
2
* Copyright(c) 2017 Intel Corporation
3
*/
4
5
#ifndef _RTE_BITRATE_H_
6
#define _RTE_BITRATE_H_
7
8
#include <stdint.h>
9
10
#include <
rte_common.h
>
11
12
#ifdef __cplusplus
13
extern
"C"
{
14
#endif
15
20
struct
rte_stats_bitrates;
21
29
void
rte_stats_bitrate_free(
struct
rte_stats_bitrates *bitrate_data);
30
38
struct
rte_stats_bitrates *rte_stats_bitrate_create(
void
)
39
__rte_malloc
__rte_dealloc
(rte_stats_bitrate_free, 1);
40
51
int
rte_stats_bitrate_reg(
struct
rte_stats_bitrates *bitrate_data);
52
53
68
int
rte_stats_bitrate_calc(
struct
rte_stats_bitrates *bitrate_data,
69
uint16_t port_id);
70
71
#ifdef __cplusplus
72
}
73
#endif
74
75
#endif
/* _RTE_BITRATE_H_ */
rte_common.h
__rte_dealloc
#define __rte_dealloc(dealloc, argno)
Definition
rte_common.h:339
__rte_malloc
#define __rte_malloc
Definition
rte_common.h:328
lib
bitratestats
rte_bitrate.h
Generated by
1.17.0