TSG-16531 PacketAdapter适配容器环境,使用mrzcpd收包,通过RAW Socket注RST包

This commit is contained in:
luwenpeng
2023-08-09 18:47:16 +08:00
parent 1063574ca0
commit e34aa3f5e2
65 changed files with 4379 additions and 1174 deletions

View File

@@ -0,0 +1,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