![]() |
DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
|
|
#include <netconn.h>
Data Structures | |
struct | netconn_nq_s |
struct | netconn_qw_s |
char netconn_t::address[128] |
Definition at line 231 of file netconn.h.
Referenced by Curl_Begin(), Curl_Curl_f(), NetConn_ConnectionEstablished(), NetConn_Open(), NetConn_ServerParsePacket(), PrintStats(), SV_ConnectClient(), and SV_Status_f().
double netconn_t::cleartime |
Definition at line 217 of file netconn.h.
Referenced by NetConn_CanSend(), NetConn_ReceivedMessage(), NetConn_SendUnreliableMessage(), and SV_SendClientDatagram().
double netconn_t::connecttime |
crypto_t netconn_t::crypto |
Definition at line 232 of file netconn.h.
Referenced by NetConn_ConnectionEstablished(), NetConn_ReceivedMessage(), NetConn_SendUnreliableMessage(), NetConn_ServerParsePacket(), and SV_ConnectClient().
int netconn_t::droppedDatagrams |
Definition at line 239 of file netconn.h.
Referenced by NetConn_ReceivedMessage(), and PrintStats().
double netconn_t::incoming_cleartime |
Definition at line 218 of file netconn.h.
Referenced by NetConn_ReceivedMessage().
netgraphitem_t netconn_t::incoming_netgraph[NETGRAPH_PACKETS] |
Definition at line 227 of file netconn.h.
Referenced by CL_SendMove(), NetConn_ReceivedMessage(), SCR_DrawNetGraph(), SV_ApplyClientMove(), and SV_Status_f().
int netconn_t::incoming_packetcounter |
Definition at line 226 of file netconn.h.
Referenced by NetConn_ReceivedMessage(), and SCR_DrawNetGraph().
double netconn_t::lastMessageTime |
Definition at line 154 of file netconn.h.
Referenced by NetConn_Open(), and NetConn_ReceivedMessage().
double netconn_t::lastSendTime |
Definition at line 155 of file netconn.h.
Referenced by NetConn_ReceivedMessage(), and NetConn_SendUnreliableMessage().
sizebuf_t netconn_t::message |
writing buffer to send to peer as the next reliable message can be added to at any time, copied into sendMessage buffer when it is possible to send a reliable message and then cleared
Definition at line 161 of file netconn.h.
Referenced by CL_ForwardToServer(), CL_ParseServerInfo(), CL_Reconnect_f(), CL_SendMove(), CL_SendPlayerInfo(), CL_SetInfo(), CL_SignonReply(), NetConn_Open(), NetConn_SendUnreliableMessage(), Protocol_WriteStatsReliable(), QW_CL_CheckOrDownloadFile(), QW_CL_NextUpload_f(), QW_CL_ParseDownload(), QW_CL_ParseModelList(), QW_CL_ParseSoundList(), QW_CL_RequestNextDownload(), Sbar_DeathmatchOverlay(), SV_BroadcastPrint(), SV_ClientCommands(), SV_ClientPrint(), SV_ConnectClient(), SV_Pings_f(), SV_PreSpawn_f(), SV_ReadClientMessage(), SV_SendClientDatagram(), SV_SendClientMessages(), SV_SendServerinfo(), SV_Spawn_f(), SV_SpawnServer(), SV_UpdateToReliableMessages(), VM_sprint(), VM_SV_centerprint(), VM_SV_lightstyle(), and VM_SV_sprint().
unsigned char netconn_t::messagedata[NET_MAXMESSAGE] |
Definition at line 162 of file netconn.h.
Referenced by NetConn_Open().
lhnetsocket_t* netconn_t::mysocket |
Definition at line 146 of file netconn.h.
Referenced by NetConn_ClientParsePacket(), NetConn_Open(), NetConn_ReceivedMessage(), NetConn_SendUnreliableMessage(), and NetConn_ServerParsePacket().
struct netconn_s* netconn_t::next |
Definition at line 144 of file netconn.h.
Referenced by Net_Stats_f(), NetConn_Close(), and NetConn_Open().
struct netconn_t::netconn_nq_s netconn_t::nq |
Referenced by NetConn_ReceivedMessage(), NetConn_SendUnreliableMessage(), and PrintStats().
netgraphitem_t netconn_t::outgoing_netgraph[NETGRAPH_PACKETS] |
Definition at line 229 of file netconn.h.
Referenced by NetConn_CanSend(), NetConn_ReceivedMessage(), NetConn_SendUnreliableMessage(), and SCR_DrawNetGraph().
int netconn_t::outgoing_packetcounter |
Definition at line 228 of file netconn.h.
Referenced by NetConn_CanSend(), NetConn_ReceivedMessage(), NetConn_SendUnreliableMessage(), and SCR_DrawNetGraph().
unsigned int netconn_t::outgoing_unreliable_sequence |
used by both NQ and QW protocols
Definition at line 176 of file netconn.h.
Referenced by CL_SendMove(), NetConn_SendUnreliableMessage(), and PrintStats().
int netconn_t::packetsReceived |
Definition at line 237 of file netconn.h.
Referenced by NetConn_ReceivedMessage(), and PrintStats().
int netconn_t::packetsReSent |
Definition at line 236 of file netconn.h.
Referenced by NetConn_SendUnreliableMessage(), and PrintStats().
int netconn_t::packetsSent |
Definition at line 235 of file netconn.h.
Referenced by NetConn_ReceivedMessage(), NetConn_SendUnreliableMessage(), and PrintStats().
lhnetaddress_t netconn_t::peeraddress |
Definition at line 147 of file netconn.h.
Referenced by CL_PQRcon_f(), CL_Rcon_f(), NetConn_ClientParsePacket(), NetConn_Close(), NetConn_Open(), NetConn_ReceivedMessage(), NetConn_SendUnreliableMessage(), NetConn_ServerParsePacket(), RCon_Execute(), SV_Pause_f(), SV_SendClientDatagram(), SV_SendServerinfo(), and SV_Status_f().
struct netconn_t::netconn_qw_s netconn_t::qw |
Referenced by CL_ParseServerMessage(), NetConn_ReceivedMessage(), NetConn_SendUnreliableMessage(), and PrintStats().
int netconn_t::receivedDuplicateCount |
Definition at line 238 of file netconn.h.
Referenced by NetConn_ReceivedMessage(), and PrintStats().
unsigned char netconn_t::receiveMessage[NET_MAXMESSAGE] |
Definition at line 173 of file netconn.h.
Referenced by NetConn_ReceivedMessage().
int netconn_t::receiveMessageLength |
reliable message that is currently being received (for putting together fragments)
Definition at line 172 of file netconn.h.
Referenced by NetConn_ReceivedMessage().
int netconn_t::reliableMessagesReceived |
Definition at line 243 of file netconn.h.
Referenced by NetConn_ReceivedMessage(), and PrintStats().
int netconn_t::reliableMessagesSent |
Definition at line 242 of file netconn.h.
Referenced by NetConn_SendUnreliableMessage(), and PrintStats().
unsigned char netconn_t::sendMessage[NET_MAXMESSAGE] |
Definition at line 168 of file netconn.h.
Referenced by NetConn_ReceivedMessage(), and NetConn_SendUnreliableMessage().
int netconn_t::sendMessageLength |
reliable message that is currently sending (for building fragments)
Definition at line 167 of file netconn.h.
Referenced by NetConn_ReceivedMessage(), NetConn_SendUnreliableMessage(), PrintStats(), and SV_SendClientDatagram().
double netconn_t::timeout |
Definition at line 153 of file netconn.h.
Referenced by NetConn_ClientFrame(), NetConn_Open(), NetConn_ReceivedMessage(), SV_CheckTimeouts(), and SV_SendServerinfo().
int netconn_t::unreliableMessagesReceived |
Definition at line 241 of file netconn.h.
Referenced by NetConn_ReceivedMessage(), and PrintStats().
int netconn_t::unreliableMessagesSent |
Definition at line 240 of file netconn.h.
Referenced by NetConn_SendUnreliableMessage(), and PrintStats().