continue work
This commit is contained in:
@ -12,6 +12,7 @@
|
||||
#include <stdbool.h>
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
#include <netinet/ip_icmp.h>
|
||||
|
||||
struct arguments {
|
||||
char* args[1];
|
||||
@ -19,4 +20,9 @@ struct arguments {
|
||||
unsigned int ttl;
|
||||
};
|
||||
|
||||
struct ping_pkt {
|
||||
struct icmphdr hdr;
|
||||
char msg[64 - sizeof(struct icmphdr)];
|
||||
};
|
||||
|
||||
#endif //MAIN_H
|
||||
|
Reference in New Issue
Block a user