#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