HomeSort by relevance Sort by last modified time
    Searched refs:packetBuffer (Results 1 - 2 of 2) sorted by null

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

Completed in 2513 milliseconds