#include <tcp.h>
Data Fields | |
nip_tcp_sock_id_t | connid |
ID to address this connection. | |
nip_tcp_sock_id_t | sockid |
association to local Socket Array | |
struct nip_tcp_sock_addr | rem_addr |
nip_tcp_stat_t | status |
uint8_t | flags |
nip_mem_handle_t | rcv_buf |
nip_mem_handle_t | snd_buf |
uint32_t | snd_una |
uint32_t | snd_nxt |
uint16_t | snd_wnd |
uint16_t | snd_maxsegsize |
uint32_t | snd_up |
uint32_t | snd_wl1 |
uint32_t | snd_wl2 |
uint32_t | iss |
uint32_t | rcv_nxt |
uint16_t | rcv_wnd |
uint32_t | rcv_up |
uint32_t | irs |
uint8_t | backup |
time to backup before transmitting again | |
uint8_t | srtt |
smoothed round trip time | |
nip_time_t | rto |
retransmission timeout | |
uint32_t | rt_una |
longest unacked segment to be retransmitted | |
uint8_t | rt_count |
retransmission counter since last ACK | |
uint32_t | push_ptr |
remember what sequence number needed to be pushed | |
nip_time_t | timeout |
time-wait timeout or user timeout, depending on state |
Definition at line 167 of file tcp.h.
ID to address this connection.
It may differ from sockid for connections spawned from listening socket. Hand this ID to the application upon accepting new connections.
Definition at line 169 of file tcp.h.
Referenced by nip_tcp_accept(), nip_tcp_create_conn(), nip_tcp_del_conn(), nip_tcp_disp_check(), nip_tcp_disp_receive(), and nip_tcp_find_conn().
association to local Socket Array
Definition at line 175 of file tcp.h.
Referenced by nip_tcp_accept(), nip_tcp_create_conn(), nip_tcp_del_conn(), nip_tcp_disp_receive(), nip_tcp_disp_send(), and nip_tcp_find_conn().
struct nip_tcp_sock_addr nip_tcb::rem_addr [read] |
Definition at line 176 of file tcp.h.
Referenced by nip_tcp_create_conn(), nip_tcp_disp_send(), and nip_tcp_find_conn().
Definition at line 177 of file tcp.h.
Referenced by nip_tcp_close(), nip_tcp_create_conn(), nip_tcp_disp_check(), nip_tcp_disp_receive(), nip_tcp_disp_send(), nip_tcp_find_conn(), nip_tcp_read(), and nip_tcp_write().
uint8_t nip_tcb::flags |
Definition at line 178 of file tcp.h.
Referenced by nip_tcp_accept(), nip_tcp_close(), nip_tcp_del_conn(), nip_tcp_disp_check(), nip_tcp_disp_receive(), nip_tcp_disp_send(), and nip_tcp_read().
Definition at line 180 of file tcp.h.
Referenced by nip_tcp_create_conn(), nip_tcp_del_conn(), nip_tcp_disp_receive(), and nip_tcp_read().
Definition at line 181 of file tcp.h.
Referenced by nip_tcp_close(), nip_tcp_create_conn(), nip_tcp_del_conn(), nip_tcp_disp_check(), nip_tcp_disp_receive(), nip_tcp_disp_send(), and nip_tcp_write().
uint32_t nip_tcb::snd_una |
Definition at line 186 of file tcp.h.
Referenced by nip_tcp_create_conn(), nip_tcp_disp_check(), nip_tcp_disp_receive(), and nip_tcp_disp_send().
uint32_t nip_tcb::snd_nxt |
Definition at line 187 of file tcp.h.
Referenced by nip_tcp_close(), nip_tcp_create_conn(), nip_tcp_disp_check(), nip_tcp_disp_receive(), and nip_tcp_disp_send().
uint16_t nip_tcb::snd_wnd |
uint16_t nip_tcb::snd_maxsegsize |
uint32_t nip_tcb::snd_up |
uint32_t nip_tcb::snd_wl1 |
uint32_t nip_tcb::snd_wl2 |
uint32_t nip_tcb::iss |
uint32_t nip_tcb::rcv_nxt |
Definition at line 196 of file tcp.h.
Referenced by nip_tcp_disp_receive(), and nip_tcp_disp_send().
uint16_t nip_tcb::rcv_wnd |
Definition at line 197 of file tcp.h.
Referenced by nip_tcp_create_conn(), nip_tcp_disp_receive(), and nip_tcp_disp_send().
uint32_t nip_tcb::rcv_up |
uint32_t nip_tcb::irs |
uint8_t nip_tcb::backup |
uint8_t nip_tcb::srtt |
retransmission timeout
Definition at line 204 of file tcp.h.
Referenced by nip_tcp_disp_check(), nip_tcp_disp_receive(), and nip_tcp_disp_send().
uint32_t nip_tcb::rt_una |
longest unacked segment to be retransmitted
Definition at line 205 of file tcp.h.
Referenced by nip_tcp_disp_receive(), and nip_tcp_disp_send().
uint8_t nip_tcb::rt_count |
retransmission counter since last ACK
Definition at line 206 of file tcp.h.
Referenced by nip_tcp_disp_send().
uint32_t nip_tcb::push_ptr |
remember what sequence number needed to be pushed
Definition at line 207 of file tcp.h.
Referenced by nip_tcp_disp_send().
time-wait timeout or user timeout, depending on state
Definition at line 208 of file tcp.h.
Referenced by nip_tcp_disp_check(), and nip_tcp_disp_receive().