blob: 22e3b5041cc494ac110a2fb4c3d320ada4ed9879 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
/* Copyright (c) 2018, Linaro Limited
* All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef ODP_PACKET_IO_STATS_H_
#define ODP_PACKET_IO_STATS_H_
#ifdef __cplusplus
extern "C" {
#endif
#include <odp/api/std_types.h>
#include <odp/api/packet_io.h>
#include <odp/api/packet_io_stats.h>
#include <odp_packet_io_internal.h>
#include <odp_packet_io_stats_common.h>
int _odp_sock_stats_fd(pktio_entry_t *pktio_entry,
odp_pktio_stats_t *stats,
int fd);
int _odp_sock_stats_reset_fd(pktio_entry_t *pktio_entry, int fd);
pktio_stats_type_t _odp_sock_stats_type_fd(pktio_entry_t *pktio_entry, int fd);
#ifdef __cplusplus
}
#endif
#endif /* ODP_PACKET_IO_STATS_H_ */
|