32 #ifndef BENCH_PAYLOAD_SIZE_MAX 
   33 #define BENCH_PAYLOAD_SIZE_MAX  (1024) 
   39 #ifndef BENCH_SERVER_DEFAULT 
   40 #define BENCH_SERVER_DEFAULT    "fd00:dead:beef::1" 
   46 #ifndef BENCH_PORT_DEFAULT 
   47 #define BENCH_PORT_DEFAULT      (12345) 
   53 #define BENCH_FLAG_CMD_PKT      (1 << 0) 
   58 #define BENCH_MASK_COOKIE       (0xFFFFFF00) 
bool benchmark_udp_stop(void)
Stop the benchmark process.
 
int benchmark_udp_start(const char *server, uint16_t port)
This will start the benchmark process.
 
Command response from the server.
 
uint32_t delay_us
delay between benchmark messages in µs
 
uint16_t payload_len
payload of benchmark messages
 
uint32_t flags
contains new config cookie
 
Benchmark message to the server.
 
uint32_t replies
number of replies received from server
 
uint32_t seq_no
number of packets sent sind config update
 
uint32_t flags
must include config cookie
 
uint32_t rtt_last
round trip time of the last packet