#include <tcp.h>
Data Fields | |
uint32_t | acknowledged |
Last acknowledged byte. | |
sockaddr * | addr |
Remote host address. | |
socklen_t | addrlen |
Remote host address length. | |
int | backlog |
Listening backlog. | |
size_t | data_fragment_size |
Data fragment size. | |
uint16_t | dest_port |
Remote host port. | |
device_id_t | device_id |
Device identifier. | |
uint32_t | expected |
Expected sequence number by the remote host. | |
int | expected_count |
Expected sequence number counter. | |
uint32_t | fin_incoming |
Incoming FIN. | |
uint32_t | fin_outgoing |
Outgoing FIN. | |
size_t | headerlen |
IP pseudo header length. | |
packet_t * | incoming |
Incoming packet queue. | |
uint32_t | last_outgoing |
Last outgoing sequence number. | |
int | listening_socket_id |
Parent listening socket identifier. | |
fibril_rwlock_t * | local_lock |
Local sockets safety lock. | |
socket_cores_t * | local_sockets |
Parent local sockets. | |
uint32_t | next_incoming |
Next incoming sequence number. | |
uint32_t | next_outgoing |
Next outgoing sequence number. | |
tcp_operation_t | operation |
Pending operation data. | |
packet_t * | outgoing |
Outgoing packet queue. | |
void * | pseudo_header |
IP pseudo header. | |
tcp_socket_state_t | state |
TCP socket state. | |
suseconds_t | timeout |
Acknowledgement timeout. | |
int | timeout_count |
Timeouts in a row counter. | |
size_t | treshold |
Treshold size in bytes. | |
size_t | window |
Window size in bytes. |
Definition at line 173 of file tcp.h.
int backlog |
uint32_t expected |
int expected_count |
Local sockets safety lock.
May be locked for writing while holding the global lock for reading when changing the local sockets only. The global lock may be locked only before locking the local lock. The global lock may be locked more weakly than the local lock. The global lock may be released before releasing the local lock.
int timeout_count |