1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#ifndef _PACKET_HANDLE_H #define _PACKET_HANDLE_H #ifdef __cpluscplus extern "C" { #endif #include "utils.h" void packet_handle(const char *data, int len, struct metrics *metrics); #ifdef __cpluscplus } #endif #endif