Searched refs:probe_packet (Results 1 - 6 of 6) sorted by relevance
/external/chromium_org/chrome/browser/net/ |
H A D | probe_message.cc | 25 ProbePacket* probe_packet) const { 29 bool parse_result = probe_packet->ParseFromString(input_decoded); 34 const ProbePacket_Header& header = probe_packet->header(); 44 if (probe_packet->has_padding()) { 45 DVLOG(3) << "received padding: " << probe_packet->padding(); 46 uint32 computed_checksum = Checksum(probe_packet->padding()); 75 ProbePacket* probe_packet) { 80 SetPacketHeader(ProbePacket_Type_PROBE_REQUEST, probe_packet); 81 *(probe_packet->mutable_token()) = token; 82 probe_packet 70 GenerateProbeRequest(const ProbePacket_Token& token, uint32 group_id, uint32 probe_size, uint32 pacing_interval_micros, uint32 number_probe_packets, ProbePacket* probe_packet) argument [all...] |
H A D | probe_message_unittest.cc | 29 ProbePacket probe_packet; local 35 &probe_packet); 37 EXPECT_EQ(probe_packet.header().type(), ProbePacket_Type_PROBE_REQUEST); 38 EXPECT_EQ(probe_packet.header().version(), ProbeMessage::kVersion); 39 EXPECT_EQ(probe_packet.group_id(), group_id); 40 EXPECT_EQ(probe_packet.probe_size_bytes(), probe_size); 41 EXPECT_EQ(probe_packet.pacing_interval_micros(), pacing_interval_micros); 42 EXPECT_EQ(probe_packet.number_probe_packets(), number_probe_packets); 43 EXPECT_GE(probe_packet.ByteSize(), static_cast<int>(probe_size)); 48 ProbePacket probe_packet; local [all...] |
H A D | network_stats_unittest.cc | 56 ProbePacket probe_packet; local 59 &probe_packet); 60 probe_packet.set_group_id(0); 61 outputs_[0] = probe_message.MakeEncodedPacket(probe_packet); 66 probe_packet = ProbePacket(); // Clear all content. 70 token, 1, probe_bytes, 0, max_probe_packets, &probe_packet); 71 outputs_[1] = probe_message.MakeEncodedPacket(probe_packet); 78 probe_packet = ProbePacket(); // Clear all content. 79 probe_message.SetPacketHeader(ProbePacket_Type_HELLO_REPLY, &probe_packet); 80 probe_packet 144 ProbePacket probe_packet; local [all...] |
H A D | probe_message.h | 32 ProbePacket* probe_packet) const;
|
H A D | network_stats.cc | 249 ProbePacket probe_packet; local 250 probe_message_.SetPacketHeader(ProbePacket_Type_HELLO_REQUEST, &probe_packet); 251 probe_packet.set_group_id(current_test_index_); 252 std::string output = probe_message_.MakeEncodedPacket(probe_packet); 299 ProbePacket probe_packet; local 305 &probe_packet); 306 std::string output = probe_message_.MakeEncodedPacket(probe_packet); 368 ProbePacket probe_packet; local 369 if (!probe_message_.ParseInput(encoded_message, &probe_packet)) 372 if (probe_packet 404 UpdateReception(const ProbePacket& probe_packet) argument [all...] |
H A D | network_stats.h | 191 // Update counters/metrics for the given |probe_packet|. 194 bool UpdateReception(const ProbePacket& probe_packet);
|
Completed in 428 milliseconds