aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-generic/include/odp_sysfs_stats.h
blob: 4bcd2b7ff32e493e46a07b9d766630c1f309bea1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* Copyright (c) 2018, Linaro Limited
 * All rights reserved.
 *
 * SPDX-License-Identifier:     BSD-3-Clause
 */

#ifndef ODP_SYSFS_STATS_H_
#define ODP_SYSFS_STATS_H_

#ifdef __cplusplus
extern "C" {
#endif

#include <odp/api/packet_io_stats.h>
#include <odp_packet_io_internal.h>

int _odp_sysfs_stats(pktio_entry_t *pktio_entry,
		     odp_pktio_stats_t *stats);

#ifdef __cplusplus
}
#endif
#endif /* ODP_SYSFS_STATS_H_ */