12 lines
467 B
C
12 lines
467 B
C
#pragma once
|
|
|
|
#include "setting.h"
|
|
#include "statistics.h"
|
|
#include <bits/types/struct_timeval.h>
|
|
#include <netinet/ip_icmp.h>
|
|
|
|
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 char *packet, const struct timeval *start, const struct timeval *stop, struct sockaddr_in const *sender); |