riot_sys

Type Alias sock_ip_t

Source
pub type sock_ip_t = sock_ip;
Expand description

@brief Raw IP sock type @internal

Aliased Type§

struct sock_ip_t {
    pub reg: gnrc_sock_reg,
    pub local: sock_ip_ep_t,
    pub remote: sock_ip_ep_t,
    pub flags: u16,
}

Fields§

§reg: gnrc_sock_reg

< netreg info

§local: sock_ip_ep_t

< local end-point

§remote: sock_ip_ep_t

< remote end-point

§flags: u16

< option flags

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: 200 bytes

Trait Implementations

Source§

impl Clone for sock_ip

Source§

fn clone(&self) -> sock_ip

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for sock_ip

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for sock_ip

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Copy for sock_ip