Searched refs:packetOffset (Results 1 – 1 of 1) sorted by relevance
36 size_t packetOffset = 0; in handleRequest() local37 const uint8_t headerByte = packet[packetOffset]; in handleRequest()39 const bool hasMask = (packet[packetOffset + 1] & 0x80) != 0; in handleRequest()40 size_t payloadLen = packet[packetOffset + 1] & 0x7f; in handleRequest()41 packetOffset += 2; in handleRequest()44 if (packetOffset + 1 >= avail) { in handleRequest()48 payloadLen = U16_AT(&packet[packetOffset]); in handleRequest()49 packetOffset += 2; in handleRequest()51 if (packetOffset + 7 >= avail) { in handleRequest()55 payloadLen = U64_AT(&packet[packetOffset]); in handleRequest()[all …]