Searched refs:kPacketLenSize (Results 1 – 2 of 2) sorted by relevance
28 static const size_t kPacketLenSize = sizeof(PacketLength); variable30 static const size_t kBufSize = kMaxPacketSize + kPacketLenSize;261 AppendToOutBuffer(&pkt_len, kPacketLenSize); in Send()282 if (*len < kPacketLenSize) in ProcessInput()286 if (*len < kPacketLenSize + pkt_len) in ProcessInput()289 SignalReadPacket(this, data + kPacketLenSize, pkt_len, remote_addr, in ProcessInput()292 *len -= kPacketLenSize + pkt_len; in ProcessInput()294 memmove(data, data + kPacketLenSize + pkt_len, *len); in ProcessInput()
24 static const size_t kPacketLenSize = sizeof(PacketLength); variable53 if (cb > kBufSize || cb < kPacketLenSize + kPacketLenOffset) { in Send()100 if (*len < kPacketLenOffset + kPacketLenSize) in ProcessInput()