Added basic packet-structure

This commit is contained in:
Ruakij 2021-11-22 09:07:49 +01:00
parent 3f7c92ba7e
commit b8b2bb7202

19
DTO/packet.hpp Normal file
View File

@ -0,0 +1,19 @@
#ifndef C42FA9F6_8CF3_453F_8FA0_918E543DCD59
#define C42FA9F6_8CF3_453F_8FA0_918E543DCD59
#include <time.h>
struct Packet {
time_t timestamp;
char srcMac[17];
char dstMac[17];
unsigned int size;
char signal;
unsigned int frequency;
unsigned char linkSpeed;
};
#endif /* C42FA9F6_8CF3_453F_8FA0_918E543DCD59 */