#include <tcp.h>
Data Fields | |
int | state |
int | fd |
int | client_fd |
union { | |
struct sockaddr_in ipv4 | |
struct sockaddr_in6 ipv6 | |
} | addr |
socklen_t | sockaddr_len |
struct tcp_stats | stats |
struct tcp_conf * | conf |
union { ... } tcp_sock::addr |
Referenced by tcp_recv(), tcp_send(), and tcp_server_create().
int tcp_sock::client_fd |
Referenced by tcp_accept(), tcp_isset(), and tcp_recv().
Referenced by tcp_client_create(), tcp_send(), and tcp_server_create().
int tcp_sock::fd |
Referenced by tcp_accept(), tcp_accept_isset(), tcp_client_destroy(), tcp_get_fd(), tcp_send(), tcp_server_create(), and tcp_server_destroy().
struct sockaddr_in tcp_sock::ipv4 |
Referenced by tcp_server_create().
struct sockaddr_in6 tcp_sock::ipv6 |
Referenced by tcp_server_create().
socklen_t tcp_sock::sockaddr_len |
Referenced by tcp_send(), and tcp_server_create().
int tcp_sock::state |
Referenced by tcp_accept(), tcp_recv(), tcp_send(), tcp_server_create(), and tcp_snprintf_stats().
Referenced by tcp_recv(), tcp_send(), and tcp_snprintf_stats().