11#ifndef ZEPHYR_INCLUDE_NET_LATMON_H_
12#define ZEPHYR_INCLUDE_NET_LATMON_H_
int(* net_latmon_measure_t)(uint32_t *delta)
Callback function type for retrieving latency deltas.
Definition latmon.h:35
int net_latmon_get_socket(struct sockaddr *bind_addr)
Get a socket for the Latmus service.
void net_latmon_start(int latmus, net_latmon_measure_t measure_func)
Start the latency monitor.
bool net_latmon_running(void)
Check if the latency monitor is running.
int net_latmon_connect(int socket, struct in_addr *ip)
Wait for a connection from a Latmus client.
IPv6 and IPv4 definitions.
int socket(int family, int type, int proto)
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
IPv4 address struct.
Definition net_ip.h:155
Generic sockaddr struct.
Definition net_ip.h:410