19#ifndef NET_GNRC_GOMACH_TIMEOUT_H
20#define NET_GNRC_GOMACH_TIMEOUT_H
92 timeout->expired =
true;
#define assert(cond)
abort the program if assertion is false
Definition for GNRC's network interfaces.
void gnrc_gomach_set_timeout(gnrc_netif_t *netif, gnrc_gomach_timeout_type_t type, uint32_t offset)
Set GoMacH timeout of type type of offset offset.
void gnrc_gomach_clear_timeout(gnrc_netif_t *netif, gnrc_gomach_timeout_type_t type)
Clear GoMacH timeout of type type.
bool gnrc_gomach_timeout_is_expired(gnrc_netif_t *netif, gnrc_gomach_timeout_type_t type)
Check whether GoMacH timeout of type type is expired.
static void gnrc_gomach_timeout_make_expire(gnrc_gomach_timeout_t *timeout)
Make a specific GoMacH timeout expired.
void gnrc_gomach_reset_timeouts(gnrc_netif_t *netif)
Reset all GoMacH timeouts.
bool gnrc_gomach_timeout_is_running(gnrc_netif_t *netif, gnrc_gomach_timeout_type_t type)
Check whether GoMacH timeout of type type is running.
GoMacH's timeout structure.
Representation of a network interface.
gnrc_gomach_timeout_type_t
GoMacH timeout types.
Definitions for sock extension for asynchronous access.
xtimer interface definitions