Searched refs:packetLen (Results 1 – 2 of 2) sorted by relevance
/external/quake/quake/src/WinQuake/ |
D | net_dgrm.cpp | 165 unsigned int packetLen; in Datagram_SendMessage() local 193 packetLen = NET_HEADERSIZE + dataLen; in Datagram_SendMessage() 195 packetBuffer.length = BigLong(packetLen | (NETFLAG_DATA | eom)); in Datagram_SendMessage() 201 if (sfunc.Write (sock->socket, (byte *)&packetBuffer, packetLen, &sock->addr) == -1) in Datagram_SendMessage() 212 unsigned int packetLen; in SendMessageNext() local 226 packetLen = NET_HEADERSIZE + dataLen; in SendMessageNext() 228 packetBuffer.length = BigLong(packetLen | (NETFLAG_DATA | eom)); in SendMessageNext() 234 if (sfunc.Write (sock->socket, (byte *)&packetBuffer, packetLen, &sock->addr) == -1) in SendMessageNext() 245 unsigned int packetLen; in ReSendMessage() local 259 packetLen = NET_HEADERSIZE + dataLen; in ReSendMessage() [all …]
|
/external/mdnsresponder/mDNSPosix/ |
D | mDNSPosix.c | 227 ssize_t packetLen; in SocketDataReady() local 242 …packetLen = recvfrom_flags(skt, &packet, sizeof(packet), &flags, (struct sockaddr *) &from, &fromL… in SocketDataReady() 244 if (packetLen >= 0) in SocketDataReady() 285 if (mDNSAddrIsDNSMulticast(&destAddr)) packetLen = -1; in SocketDataReady() 297 packetLen = -1; in SocketDataReady() 317 if (packetLen >= 0) in SocketDataReady() 318 mDNSCoreReceive(m, &packet, (mDNSu8 *)&packet + packetLen, in SocketDataReady()
|