Type Alias riot_sys::gnrc_netreg_entry_t
source · pub type gnrc_netreg_entry_t = gnrc_netreg_entry;
Expand description
@brief Entry to the @ref net_gnrc_netreg
Aliased Type§
struct gnrc_netreg_entry_t {
pub next: *mut gnrc_netreg_entry,
pub demux_ctx: u32,
pub type_: u8,
pub target: gnrc_netreg_entry__bindgen_ty_1,
}
Fields§
§next: *mut gnrc_netreg_entry
@brief next element in list
@internal
demux_ctx: u32
@brief The demultiplexing context for the registering thread.
@details This can be defined by the network protocol themselves. E. g. protocol numbers / next header numbers in IPv4/IPv6, ports in UDP/TCP, or similar.
type_: u8
@brief Type of the registry entry
@note Only available with @ref net_gnrc_netapi_mbox or @ref net_gnrc_netapi_callbacks.
target: gnrc_netreg_entry__bindgen_ty_1
< Target for the registry entry