Home
last modified time | relevance | path

Searched refs:serialized_packet (Results 1 – 17 of 17) sorted by relevance

/external/chromium_org/net/quic/
Dquic_ack_notifier_manager.cc75 const SerializedPacket& serialized_packet) { in OnSerializedPacket() argument
80 RetransmittableFrames* frames = serialized_packet.retransmittable_frames; in OnSerializedPacket()
94 notifier->AddSequenceNumber(serialized_packet.sequence_number, in OnSerializedPacket()
95 serialized_packet.packet->length()); in OnSerializedPacket()
99 ack_notifier_map_[serialized_packet.sequence_number].insert(notifier); in OnSerializedPacket()
Dquic_packet_creator_test.cc644 SerializedPacket serialized_packet = creator_.SerializePacket(); in TEST_P() local
645 ASSERT_TRUE(serialized_packet.packet); in TEST_P()
646 delete serialized_packet.packet; in TEST_P()
647 delete serialized_packet.retransmittable_frames; in TEST_P()
672 SerializedPacket serialized_packet = creator_.SerializePacket(); in TEST_P() local
673 ASSERT_TRUE(serialized_packet.packet); in TEST_P()
674 delete serialized_packet.packet; in TEST_P()
675 delete serialized_packet.retransmittable_frames; in TEST_P()
702 SerializedPacket serialized_packet = creator_.SerializePacket(); in TEST_P() local
703 ASSERT_TRUE(serialized_packet.packet); in TEST_P()
[all …]
Dquic_connection.cc165 : serialized_packet(packet), in QueuedPacket()
176 : serialized_packet(packet), in QueuedPacket()
264 delete it->serialized_packet.retransmittable_frames; in ~QuicConnection()
265 delete it->serialized_packet.packet; in ~QuicConnection()
1260 SerializedPacket serialized_packet = packet_generator_.ReserializeAllFrames( in WritePendingRetransmissions() local
1265 << " as " << serialized_packet.sequence_number; in WritePendingRetransmissions()
1267 QueuedPacket(serialized_packet, in WritePendingRetransmissions()
1334 delete packet->serialized_packet.retransmittable_frames; in WritePacket()
1335 delete packet->serialized_packet.packet; in WritePacket()
1336 packet->serialized_packet.retransmittable_frames = NULL; in WritePacket()
[all …]
Dquic_unacked_packet_map.cc40 const SerializedPacket& serialized_packet) { in AddPacket() argument
41 DCHECK_GE(serialized_packet.sequence_number, in AddPacket()
44 serialized_packet.sequence_number) { in AddPacket()
49 TransmissionInfo(serialized_packet.retransmittable_frames, in AddPacket()
50 serialized_packet.sequence_number_length)); in AddPacket()
51 if (serialized_packet.retransmittable_frames != NULL && in AddPacket()
52 serialized_packet.retransmittable_frames->HasCryptoHandshake() in AddPacket()
Dquic_packet_generator.cc348 SerializedPacket serialized_packet = packet_creator_.SerializePacket(); in SerializeAndSendPacket() local
349 DCHECK(serialized_packet.packet); in SerializeAndSendPacket()
350 delegate_->OnSerializedPacket(serialized_packet); in SerializeAndSendPacket()
Dquic_ack_notifier_manager.h56 void OnSerializedPacket(const SerializedPacket& serialized_packet);
Dquic_sent_packet_manager.cc147 const SerializedPacket& serialized_packet) { in OnSerializedPacket() argument
148 if (serialized_packet.retransmittable_frames) { in OnSerializedPacket()
149 ack_notifier_manager_.OnSerializedPacket(serialized_packet); in OnSerializedPacket()
151 unacked_packets_.AddPacket(serialized_packet); in OnSerializedPacket()
154 debug_delegate_->OnSerializedPacket(serialized_packet); in OnSerializedPacket()
Dquic_unacked_packet_map.h24 void AddPacket(const SerializedPacket& serialized_packet);
Dquic_sent_packet_manager_test.cc286 SerializedPacket serialized_packet(CreateDataPacket(1)); in TEST_F() local
288 manager_.OnSerializedPacket(serialized_packet); in TEST_F()
651 SerializedPacket serialized_packet(CreateDataPacket(1)); in TEST_F() local
653 manager_.OnSerializedPacket(serialized_packet); in TEST_F()
658 SerializedPacket serialized_packet(CreateFecPacket(1)); in TEST_F() local
660 manager_.OnSerializedPacket(serialized_packet); in TEST_F()
693 SerializedPacket serialized_packet(CreateFecPacket(1)); in TEST_F() local
694 manager_.OnSerializedPacket(serialized_packet); in TEST_F()
Dquic_packet_creator.cc298 SerializedPacket serialized_packet = SerializeAllFrames(frames); in ReserializeAllFrames() local
303 return serialized_packet; in ReserializeAllFrames()
Dquic_sent_packet_manager.h120 void OnSerializedPacket(const SerializedPacket& serialized_packet);
Dquic_connection.h536 SerializedPacket serialized_packet; member
Dquic_connection_test.cc707 SerializedPacket serialized_packet = in ProcessFramePacket() local
709 scoped_ptr<QuicPacket> packet(serialized_packet.packet); in ProcessFramePacket()
712 serialized_packet.sequence_number, *packet)); in ProcessFramePacket()
714 return serialized_packet.entropy_hash; in ProcessFramePacket()
/external/chromium_org/remoting/host/
Ddesktop_session_agent.cc366 std::string serialized_packet; in ProcessAudioPacket() local
367 if (!packet->SerializeToString(&serialized_packet)) { in ProcessAudioPacket()
372 SendToNetwork(new ChromotingDesktopNetworkMsg_AudioPacket(serialized_packet)); in ProcessAudioPacket()
Ddesktop_session_proxy.h147 void OnAudioPacket(const std::string& serialized_packet);
Ddesktop_session_proxy.cc456 void DesktopSessionProxy::OnAudioPacket(const std::string& serialized_packet) { in OnAudioPacket() argument
462 if (!packet->ParseFromString(serialized_packet)) { in OnAudioPacket()
/external/chromium_org/net/quic/test_tools/
Dquic_test_utils.cc306 packets_.push_back(packet.serialized_packet.packet); in SendOrQueuePacket()
309 packet.serialized_packet.sequence_number, in SendOrQueuePacket()
310 *packet.serialized_packet.packet); in SendOrQueuePacket()
314 sent_packet_manager_.OnSerializedPacket(packet.serialized_packet); in SendOrQueuePacket()