pub type sock_tcp_t = sock_tcp;
Aliased Type§
struct sock_tcp_t {Show 33 fields
pub address_family: u8,
pub local_addr: [u8; 16],
pub peer_addr: [u8; 16],
pub ll_iface: i8,
pub local_port: u16,
pub peer_port: u16,
pub state: u8,
pub status: u8,
pub snd_una: u32,
pub snd_nxt: u32,
pub snd_wnd: u16,
pub snd_wl1: u32,
pub snd_wl2: u32,
pub rcv_nxt: u32,
pub rcv_wnd: u16,
pub iss: u32,
pub irs: u32,
pub mss: u16,
pub rtt_start: u32,
pub rtt_var: i32,
pub srtt: i32,
pub rto: i32,
pub retries: u8,
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,
pub mbox: *mut mbox_t,
pub rcv_buf_raw: *mut u8,
pub rcv_buf: ringbuffer_t,
pub fsm_lock: mutex_t,
pub function_lock: mutex_t,
pub next: *mut sock_tcp,
}
Fields§
§address_family: u8
§local_addr: [u8; 16]
§peer_addr: [u8; 16]
§ll_iface: i8
§local_port: u16
§peer_port: u16
§state: u8
§status: u8
§snd_una: u32
§snd_nxt: u32
§snd_wnd: u16
§snd_wl1: u32
§snd_wl2: u32
§rcv_nxt: u32
§rcv_wnd: u16
§iss: u32
§irs: u32
§mss: u16
§rtt_start: u32
§rtt_var: i32
§srtt: i32
§rto: i32
§retries: u8
§event_retransmit: evtimer_msg_event_t
§event_timeout: evtimer_msg_event_t
§event_misc: evtimer_mbox_event_t
§pkt_retransmit: *mut gnrc_pktsnip
§mbox: *mut mbox_t
§rcv_buf_raw: *mut u8
§rcv_buf: ringbuffer_t
§fsm_lock: mutex_t
§function_lock: mutex_t
§next: *mut sock_tcp
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