Added basic packet-structure
parent
3f7c92ba7e
commit
b8b2bb7202
@ -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 */
|
Loading…
Reference in New Issue