fix: packet size recv

This commit is contained in:
2025-12-16 05:59:53 -06:00
parent bd178a5cda
commit 5617ceb5f6
3 changed files with 9 additions and 6 deletions

View File

@@ -9,4 +9,4 @@ void print_err(const char *format, ...);
void print_header(struct setting const *settings);
void print_statistics(struct statistics const *stats, struct setting const *settings);
void print_recv(const struct setting *settings, const struct icmphdr *header, const struct timeval *start, const struct timeval *stop, struct sockaddr_in const *sender);
void print_recv(const struct setting *settings, const char *packet, const struct timeval *start, const struct timeval *stop, struct sockaddr_in const *sender);