ReactOS 0.4.16-dev-336-gb667d82
|
#include "precomp.h"
Go to the source code of this file.
Macros | |
#define | TCP_CLOSE(_sck) close(_sck) |
#define | TCP_STRERROR strerror(errno) |
#define | TCP_SLEEP(_n) sleep(_n) |
#define | TCP_BLOCKS (errno == EWOULDBLOCK) |
#define | INADDR_NONE ((unsigned long) -1) |
#define | STREAM_COUNT 1 |
Functions | |
STREAM | tcp_init (uint32 maxlen) |
void | tcp_send (STREAM s) |
STREAM | tcp_recv (STREAM s, uint32 length) |
RD_BOOL | tcp_connect (char *server) |
void | tcp_disconnect (void) |
char * | tcp_get_address () |
RD_BOOL | tcp_is_connected () |
void | tcp_reset_state (void) |
Variables | |
static int | g_sock |
static struct stream | g_in |
static struct stream | g_out [STREAM_COUNT] |
int | g_tcp_port_rdp = TCP_PORT_RDP |
RD_BOOL | g_user_quit |
RD_BOOL | g_network_error |
RD_BOOL | g_reconnect_loop |
#define TCP_BLOCKS (errno == EWOULDBLOCK) |
Definition at line 717 of file tcp.c.
Referenced by iso_connect(), iso_reconnect(), LibTCPConnectCallback(), START_TEST(), and test_tcp_rto_timeout_syn_sent_impl().
Definition at line 832 of file tcp.c.
Referenced by iso_connect(), iso_disconnect(), and iso_reconnect().
Definition at line 866 of file tcp.c.
Referenced by rdp_send_logon_info(), and wWinMain().
Definition at line 82 of file tcp.c.
Referenced by iso_init(), iso_send_connection_request(), iso_send_msg(), and lwip_init().
Definition at line 882 of file tcp.c.
Definition at line 344 of file tcp.c.
Referenced by iso_recv_msg(), LibTCPAccept(), LibTCPConnectCallback(), START_TEST(), test_tcp_new_counters_pcb(), test_tcp_recv_expect1byte(), and test_tcp_recv_expectclose().
Definition at line 894 of file tcp.c.
Referenced by iso_reset_state().
Definition at line 270 of file tcp.c.
Referenced by iso_send(), iso_send_connection_request(), and iso_send_msg().
Definition at line 73 of file tcp.c.
Referenced by convert_r5g5_snorm_l6_unorm(), convert_r5g5_snorm_l6_unorm_ext(), convert_r5g5_snorm_l6_unorm_nv(), tcp_connect(), tcp_recv(), and tcp_reset_state().
|
extern |
Definition at line 77 of file uimain.c.
Referenced by tcp_recv(), and tcp_send().
|
static |
Definition at line 74 of file tcp.c.
Referenced by convert_r5g5_snorm_l6_unorm_ext(), tcp_connect(), tcp_init(), and tcp_reset_state().
|
extern |
Definition at line 86 of file uimain.c.
Referenced by tcp_connect().
|
static |
Definition at line 72 of file tcp.c.
Referenced by tcp_connect(), tcp_disconnect(), tcp_get_address(), tcp_is_connected(), tcp_recv(), and tcp_send().
int g_tcp_port_rdp = TCP_PORT_RDP |
Definition at line 75 of file tcp.c.
Referenced by parse_parameters(), tcp_connect(), and wWinMain().
|
extern |
Definition at line 76 of file uimain.c.
Referenced by tcp_recv().