continue work

This commit is contained in:
2025-02-25 09:47:28 -05:00
parent 21456260ad
commit e97bd6a727
4 changed files with 545 additions and 255 deletions

View File

@ -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