#[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§
Auto Trait Implementations§
impl Freeze for sock_tcp
impl RefUnwindSafe for sock_tcp
impl !Send for sock_tcp
impl !Sync for sock_tcp
impl Unpin for sock_tcp
impl UnwindSafe for sock_tcp
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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