Searched refs:packet_num (Results 1 – 6 of 6) sorted by relevance
298 uint32_t packet_num = rtc::GetBE32(data + kPacketNumOffset); in VerifyPacket() local300 if (static_cast<uint8_t>(data[i]) != (packet_num & 0xff)) { in VerifyPacket()305 *out_num = packet_num; in VerifyPacket()315 uint32_t packet_num = rtc::GetBE32(data + kPacketNumOffset); in VerifyEncryptedPacket() local318 if (static_cast<uint8_t>(data[i]) == (packet_num & 0xff)) { in VerifyEncryptedPacket()335 uint32_t packet_num = 0; in OnTransportChannelReadPacket() local336 ASSERT_TRUE(VerifyPacket(data, size, &packet_num)); in OnTransportChannelReadPacket()337 received_.insert(packet_num); in OnTransportChannelReadPacket()
740 unsigned char packet_num = buffer[0]; in ReadData() local742 unsigned int rand_state = packet_num; in ReadData()748 received_.insert(packet_num); in ReadData()
169 void ReadPackets(PacketStream* stream, size_t packet_num);