Definition at line 563 of file tcp_ip.h.
Data Fields | |
| UINT8 | state |
| State of the TCP socket [entry]. | |
| UINT8 | type |
| type of the TCP socket | |
| UINT8 | flags |
| UINT32 | rem_ip |
| UINT16 | remport |
| UINT16 | locport |
| UINT8 | myflags |
| UINT16 | tout |
| UINT8 | tos |
| UINT16 | persist_timerh |
| UINT16 | retransmit_timerh |
| UINT8 | retries_left |
| INT32(* | event_listener )(INT8, UINT8, UINT32, UINT32) |
| TCP socket application event listener. | |
|
|
This variable holds information used by the OpenTCP to manage sockets as well as information needed to manage TCP connection. Possible values are:
Definition at line 583 of file tcp_ip.h. Referenced by process_tcp_in(), tcp_abort(), tcp_checksend(), tcp_close(), tcp_connect(), tcp_getfreeport(), tcp_getsocket(), tcp_getstate(), tcp_init(), tcp_listen(), tcp_mapsocket(), tcp_newstate(), tcp_poll(), tcp_releasesocket(), and tcp_send(). |
|
|
Defines type of the TCP socket allocated. This determines how connection is established/closed in some cases. Possible values are:
Definition at line 595 of file tcp_ip.h. Referenced by process_tcp_in(), tcp_connect(), tcp_getsocket(), tcp_init(), tcp_listen(), tcp_poll(), and tcp_releasesocket(). |
|
|
State machine flags Definition at line 596 of file tcp_ip.h. Referenced by process_tcp_in(), tcp_close(), tcp_connect(), tcp_getsocket(), tcp_init(), tcp_listen(), tcp_poll(), and tcp_releasesocket(). |
|
|
Remote IP address Definition at line 597 of file tcp_ip.h. Referenced by process_tcp_in(), process_tcp_out(), tcp_connect(), tcp_getsocket(), tcp_init(), tcp_listen(), tcp_mapsocket(), tcp_poll(), tcp_releasesocket(), and tcp_sendreset(). |
|
|
Remote TCP port Definition at line 598 of file tcp_ip.h. Referenced by process_tcp_in(), process_tcp_out(), tcp_connect(), tcp_getsocket(), tcp_init(), tcp_listen(), tcp_mapsocket(), tcp_poll(), tcp_releasesocket(), and tcp_sendreset(). |
|
|
Local TCP port Definition at line 599 of file tcp_ip.h. Referenced by process_tcp_out(), tcp_connect(), tcp_getfreeport(), tcp_getsocket(), tcp_init(), tcp_listen(), tcp_mapsocket(), tcp_releasesocket(), and tcp_sendreset(). |
|
|
My flags to be Txed Definition at line 601 of file tcp_ip.h. Referenced by process_tcp_in(), process_tcp_out(), tcp_abort(), tcp_close(), tcp_connect(), tcp_init(), tcp_listen(), tcp_poll(), tcp_send(), and tcp_sendreset(). |
|
|
Socket idle timeout (seconds) Definition at line 604 of file tcp_ip.h. Referenced by tcp_getsocket(), tcp_init(), and tcp_newstate(). |
|
|
Type of service allocated Definition at line 605 of file tcp_ip.h. Referenced by process_tcp_out(), tcp_getsocket(), tcp_init(), tcp_releasesocket(), and tcp_sendreset(). |
|
|
Persistent timers' handle Definition at line 607 of file tcp_ip.h. Referenced by tcp_init(), tcp_newstate(), and tcp_poll(). |
|
|
Retransmission timers' handle Definition at line 608 of file tcp_ip.h. Referenced by tcp_init(), tcp_newstate(), and tcp_poll(). |
|
|
Number of retries left before aborting Definition at line 609 of file tcp_ip.h. Referenced by tcp_init(), tcp_listen(), tcp_newstate(), and tcp_poll(). |
|
|
Pointer to an event listener - a callback function used by TCP/IP stack to notify application about certain events. Referenced by process_tcp_in(), tcp_connect(), tcp_getsocket(), tcp_init(), tcp_listen(), tcp_poll(), and tcp_releasesocket(). |
1.2.18