Type Alias riot_sys::gnrc_sock_reg_t

source ·
pub type gnrc_sock_reg_t = gnrc_sock_reg;
Expand description

@brief sock @ref net_gnrc_netreg info @internal

Aliased Type§

struct gnrc_sock_reg_t {
    pub entry: gnrc_netreg_entry,
    pub mbox: mbox_t,
    pub mbox_queue: [msg_t; 8],
    pub netreg_cb: gnrc_netreg_entry_cbd_t,
    pub async_cb: gnrc_sock_reg__bindgen_ty_1,
    pub async_cb_arg: *mut c_void,
    pub async_ctx: sock_async_ctx_t,
}

Fields§

§entry: gnrc_netreg_entry

< @ref net_gnrc_netreg entry for mbox

§mbox: mbox_t

< @ref core_mbox target for the sock

§mbox_queue: [msg_t; 8]

< queue for gnrc_sock_reg_t::mbox

§netreg_cb: gnrc_netreg_entry_cbd_t

< netreg callback

§async_cb: gnrc_sock_reg__bindgen_ty_1§async_cb_arg: *mut c_void

< asynchronous callback argument

§async_ctx: sock_async_ctx_t

< asynchronous event context

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 148 bytes