summaryrefslogtreecommitdiff
path: root/platform/include/packet_handle.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/include/packet_handle.h')
-rw-r--r--platform/include/packet_handle.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/platform/include/packet_handle.h b/platform/include/packet_handle.h
new file mode 100644
index 0000000..001e84d
--- /dev/null
+++ b/platform/include/packet_handle.h
@@ -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