clean: rename print_ping -> print_recv
This commit is contained in:
@ -49,7 +49,7 @@ void print_statistics(struct statistics const *stats, struct setting const *sett
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
void print_ping(const struct setting *settings, const struct icmphdr *header, const struct timeval *start, const struct timeval *stop)
|
void print_recv(const struct setting *settings, const struct icmphdr *header, const struct timeval *start, const struct timeval *stop)
|
||||||
{
|
{
|
||||||
|
|
||||||
printf("%zu bytes from %s: icmp_seq=%d ttl=%zu time=%.3f ms\n",
|
printf("%zu bytes from %s: icmp_seq=%d ttl=%zu time=%.3f ms\n",
|
||||||
|
|||||||
@ -9,4 +9,4 @@ void print_err(const char *format, ...);
|
|||||||
|
|
||||||
void print_header(struct setting const *settings);
|
void print_header(struct setting const *settings);
|
||||||
void print_statistics(struct statistics const *stats, struct setting const *settings);
|
void print_statistics(struct statistics const *stats, struct setting const *settings);
|
||||||
void print_ping(struct setting const *settings, struct icmphdr const *header, struct timeval const *start, struct timeval const *stop);
|
void print_recv(struct setting const *settings, struct icmphdr const *header, struct timeval const *start, struct timeval const *stop);
|
||||||
Reference in New Issue
Block a user