Home
last modified time | relevance | path

Searched refs:packetBuffer (Results 1 – 2 of 2) sorted by relevance

/external/quake/quake/src/WinQuake/
Dnet_dgrm.cpp64 } packetBuffer; variable
195 packetBuffer.length = BigLong(packetLen | (NETFLAG_DATA | eom)); in Datagram_SendMessage()
196 packetBuffer.sequence = BigLong(sock->sendSequence++); in Datagram_SendMessage()
197 Q_memcpy (packetBuffer.data, sock->sendMessage, dataLen); in Datagram_SendMessage()
201 if (sfunc.Write (sock->socket, (byte *)&packetBuffer, packetLen, &sock->addr) == -1) in Datagram_SendMessage()
228 packetBuffer.length = BigLong(packetLen | (NETFLAG_DATA | eom)); in SendMessageNext()
229 packetBuffer.sequence = BigLong(sock->sendSequence++); in SendMessageNext()
230 Q_memcpy (packetBuffer.data, sock->sendMessage, dataLen); in SendMessageNext()
234 if (sfunc.Write (sock->socket, (byte *)&packetBuffer, packetLen, &sock->addr) == -1) in SendMessageNext()
261 packetBuffer.length = BigLong(packetLen | (NETFLAG_DATA | eom)); in ReSendMessage()
[all …]
Dnet_wipx.cpp235 static byte packetBuffer[NET_DATAGRAMSIZE + 4]; variable
243 ret = precvfrom (socket, packetBuffer, len+4, 0, (struct sockaddr *)addr, &addrlen); in WIPX_Read()
258 memcpy(buf, packetBuffer+4, ret); in WIPX_Read()
278 *(int *)(&packetBuffer[0]) = sequence[handle]; in WIPX_Write()
280 memcpy(&packetBuffer[4], buf, len); in WIPX_Write()
283 ret = psendto (socket, packetBuffer, len, 0, (struct sockaddr *)addr, sizeof(struct qsockaddr)); in WIPX_Write()