receive of icmp work, needs statistics and missing settings

This commit is contained in:
2025-04-30 18:20:59 +02:00
parent 0021a51f61
commit b4afb26076
5 changed files with 54 additions and 28 deletions

View File

@ -56,6 +56,7 @@ typedef struct s_settings
uint16_t id;
short stop;
short err;
char *name;
} t_settings;
@ -77,5 +78,6 @@ void free_hosts(t_host_list *list);
t_settings parse_args(int argc, char **argv);
void show_help(t_settings *set, char *name);
void send_pings(t_settings *set);
uint16_t calc_checksum(void *ptr, size_t len);
#endif