riot_sys::inline

Struct 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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. 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>,

Source§

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>,

Source§

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.

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