Added basic packet-structure
This commit is contained in:
19
DTO/packet.hpp
Normal file
19
DTO/packet.hpp
Normal 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 */
|
||||
Reference in New Issue
Block a user