Struct riot_sys::inline::sock_tcp

source ·
#[repr(C)]
pub struct sock_tcp {
Show 33 fields pub address_family: uint8_t, pub local_addr: [uint8_t; 16], pub peer_addr: [uint8_t; 16], pub ll_iface: int8_t, pub local_port: uint16_t, pub peer_port: uint16_t, pub state: uint8_t, pub status: uint8_t, pub snd_una: uint32_t, pub snd_nxt: uint32_t, pub snd_wnd: uint16_t, pub snd_wl1: uint32_t, pub snd_wl2: uint32_t, pub rcv_nxt: uint32_t, pub rcv_wnd: uint16_t, pub iss: uint32_t, pub irs: uint32_t, pub mss: uint16_t, pub rtt_start: uint32_t, pub rtt_var: int32_t, pub srtt: int32_t, pub rto: int32_t, pub retries: uint8_t, pub event_retransmit: evtimer_msg_event_t, pub event_timeout: evtimer_msg_event_t, pub event_misc: evtimer_mbox_event_t, pub pkt_retransmit: *mut gnrc_pktsnip_t, pub mbox: *mut mbox_t, pub rcv_buf_raw: *mut uint8_t, pub rcv_buf: ringbuffer_t, pub fsm_lock: mutex_t, pub function_lock: mutex_t, pub next: *mut sock_tcp,
}

Fields§

§address_family: uint8_t§local_addr: [uint8_t; 16]§peer_addr: [uint8_t; 16]§ll_iface: int8_t§local_port: uint16_t§peer_port: uint16_t§state: uint8_t§status: uint8_t§snd_una: uint32_t§snd_nxt: uint32_t§snd_wnd: uint16_t§snd_wl1: uint32_t§snd_wl2: uint32_t§rcv_nxt: uint32_t§rcv_wnd: uint16_t§iss: uint32_t§irs: uint32_t§mss: uint16_t§rtt_start: uint32_t§rtt_var: int32_t§srtt: int32_t§rto: int32_t§retries: uint8_t§event_retransmit: evtimer_msg_event_t§event_timeout: evtimer_msg_event_t§event_misc: evtimer_mbox_event_t§pkt_retransmit: *mut gnrc_pktsnip_t§mbox: *mut mbox_t§rcv_buf_raw: *mut uint8_t§rcv_buf: ringbuffer_t§fsm_lock: mutex_t§function_lock: mutex_t§next: *mut sock_tcp

Trait Implementations§

source§

impl Clone for sock_tcp

source§

fn clone(&self) -> sock_tcp

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 Copy for sock_tcp

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.