summaryrefslogtreecommitdiff
path: root/platform/include/packet_stat.h
blob: 3e56cd81027c847a0f15b5d8ae710d179c7313b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef _PACKET_STAT_H
#define _PACKET_STAT_H

#ifdef __cpluscplus
extern "C"
{
#endif

struct packet_stat;
struct packet_stat *packet_stat_create(const char *profile);
void packet_stat_destory(struct packet_stat *handle);

void packet_stat_output(struct packet_stat *handle, struct metrics *metrics);
int packet_stat_cycle(struct packet_stat *handle);

#ifdef __cpluscplus
}
#endif

#endif