Home
last modified time | relevance | path

Searched refs:QuicEncryptedPacket (Results 1 – 25 of 34) sorted by relevance

12

/external/chromium_org/net/quic/
Dquic_network_transaction_unittest.cc90 scoped_ptr<QuicEncryptedPacket> ConstructRstPacket( in ConstructRstPacket()
104 return scoped_ptr<QuicEncryptedPacket>( in ConstructRstPacket()
108 scoped_ptr<QuicEncryptedPacket> ConstructConnectionClosePacket( in ConstructConnectionClosePacket()
123 return scoped_ptr<QuicEncryptedPacket>( in ConstructConnectionClosePacket()
127 scoped_ptr<QuicEncryptedPacket> ConstructAckPacket( in ConstructAckPacket()
153 return scoped_ptr<QuicEncryptedPacket>(framer.EncryptPacket( in ConstructAckPacket()
185 QuicEncryptedPacket* ConstructDataPacket( in ConstructDataPacket()
197 scoped_ptr<QuicEncryptedPacket> ConstructPacket( in ConstructPacket()
205 return scoped_ptr<QuicEncryptedPacket>(framer.EncryptPacket( in ConstructPacket()
342 scoped_ptr<QuicEncryptedPacket> req( in TEST_F()
[all …]
Dquic_http_stream_test.cc125 PacketToWrite(IoMode mode, QuicEncryptedPacket* packet) in PacketToWrite()
130 QuicEncryptedPacket* packet;
155 void AddWrite(IoMode mode, QuicEncryptedPacket* packet) { in AddWrite()
160 QuicEncryptedPacket* GetWrite(size_t pos) { in GetWrite()
168 void ProcessPacket(const QuicEncryptedPacket& packet) { in ProcessPacket()
259 QuicEncryptedPacket* ConstructDataPacket( in ConstructDataPacket()
271 QuicEncryptedPacket* ConstructRstStreamPacket( in ConstructRstStreamPacket()
279 QuicEncryptedPacket* ConstructAckPacket( in ConstructAckPacket()
293 QuicEncryptedPacket* ConstructRstPacket( in ConstructRstPacket()
337 QuicEncryptedPacket* ConstructPacket(const QuicPacketHeader& header, in ConstructPacket()
[all …]
Dquic_framer.h171 static bool HasVersionFlag(const QuicEncryptedPacket& packet);
229 bool ProcessPacket(const QuicEncryptedPacket& packet);
282 const QuicEncryptedPacket& encrypted,
308 static QuicEncryptedPacket* BuildPublicResetPacket(
311 QuicEncryptedPacket* BuildVersionNegotiationPacket(
343 QuicEncryptedPacket* EncryptPacket(EncryptionLevel level,
355 static bool ReadGuidFromPacket(const QuicEncryptedPacket& packet,
383 const QuicEncryptedPacket& packet);
392 const QuicEncryptedPacket& packet);
412 const QuicEncryptedPacket& packet);
Dquic_framer_test.cc362 bool CheckDecryption(const QuicEncryptedPacket& encrypted, in CheckDecryption()
402 QuicEncryptedPacket encrypted(AsChars(packet), len, false); in CheckProcessingFails()
568 QuicEncryptedPacket encrypted(packet, 0, false); in TEST_P()
594 QuicEncryptedPacket encrypted(AsChars(packet), arraysize(packet), false); in TEST_P()
619 QuicEncryptedPacket encrypted(AsChars(packet), arraysize(packet), false); in TEST_P()
672 QuicEncryptedPacket encrypted(AsChars(packet), arraysize(packet), false); in TEST_P()
727 QuicEncryptedPacket encrypted(AsChars(packet), arraysize(packet), false); in TEST_P()
780 QuicEncryptedPacket encrypted(AsChars(packet), arraysize(packet), false); in TEST_P()
834 QuicEncryptedPacket encrypted(AsChars(packet), arraysize(packet), false); in TEST_P()
890 QuicEncryptedPacket encrypted(AsChars(packet), arraysize(packet), false); in TEST_P()
[all …]
Dquic_connection.h110 const QuicEncryptedPacket& packet,
123 const QuicEncryptedPacket& packet) = 0;
245 const QuicEncryptedPacket& packet);
335 QuicEncryptedPacket* ReleaseConnectionClosePacket() { in ReleaseConnectionClosePacket()
616 void QueueUndecryptablePacket(const QuicEncryptedPacket& packet);
677 std::deque<QuicEncryptedPacket*> undecryptable_packets_;
692 scoped_ptr<QuicEncryptedPacket> connection_close_packet_;
Dquic_connection_logger.h31 const QuicEncryptedPacket& packet,
38 const QuicEncryptedPacket& packet) OVERRIDE;
Dquic_stream_factory_test.cc80 scoped_ptr<QuicEncryptedPacket> ConstructRstPacket( in ConstructRstPacket()
94 return scoped_ptr<QuicEncryptedPacket>( in ConstructRstPacket()
98 scoped_ptr<QuicEncryptedPacket> ConstructAckPacket( in ConstructAckPacket()
122 return scoped_ptr<QuicEncryptedPacket>(framer.EncryptPacket( in ConstructAckPacket()
127 scoped_ptr<QuicEncryptedPacket> ConstructFeedbackPacket( in ConstructFeedbackPacket()
143 return scoped_ptr<QuicEncryptedPacket>( in ConstructFeedbackPacket()
147 scoped_ptr<QuicEncryptedPacket> ConstructPacket( in ConstructPacket()
155 return scoped_ptr<QuicEncryptedPacket>(framer.EncryptPacket( in ConstructPacket()
285 scoped_ptr<QuicEncryptedPacket> rst(ConstructRstPacket(1, 3)); in TEST_F()
Dquic_protocol.h850 class NET_EXPORT_PRIVATE QuicEncryptedPacket : public QuicData {
852 QuicEncryptedPacket(const char* buffer, size_t length) in QuicEncryptedPacket() function
855 QuicEncryptedPacket(char* buffer, size_t length, bool owns_buffer) in QuicEncryptedPacket() function
859 QuicEncryptedPacket* Clone() const;
866 std::ostream& os, const QuicEncryptedPacket& s);
869 DISALLOW_COPY_AND_ASSIGN(QuicEncryptedPacket);
Dquic_protocol.cc441 QuicEncryptedPacket* QuicEncryptedPacket::Clone() const { in Clone()
444 return new QuicEncryptedPacket(buffer, this->length(), true); in Clone()
447 ostream& operator<<(ostream& os, const QuicEncryptedPacket& s) { in operator <<()
Dquic_framer.cc398 QuicEncryptedPacket* QuicFramer::BuildPublicResetPacket( in BuildPublicResetPacket()
425 return new QuicEncryptedPacket(writer.take(), len, true); in BuildPublicResetPacket()
428 QuicEncryptedPacket* QuicFramer::BuildVersionNegotiationPacket( in BuildVersionNegotiationPacket()
452 return new QuicEncryptedPacket(writer.take(), len, true); in BuildVersionNegotiationPacket()
455 bool QuicFramer::ProcessPacket(const QuicEncryptedPacket& packet) { in ProcessPacket()
509 const QuicEncryptedPacket& packet) { in ProcessDataPacket()
800 bool QuicFramer::ReadGuidFromPacket(const QuicEncryptedPacket& packet, in ReadGuidFromPacket()
903 const QuicEncryptedPacket& packet) { in ProcessPacketHeader()
1449 const QuicEncryptedPacket& encrypted, in GetAssociatedDataFromEncryptedPacket()
1504 QuicEncryptedPacket* QuicFramer::EncryptPacket( in EncryptPacket()
[all …]
Dquic_packet_creator.h161 QuicEncryptedPacket* SerializeVersionNegotiationPacket(
/external/chromium_org/net/tools/quic/
Dquic_time_wait_list_manager_test.cc94 QuicEncryptedPacket* packet) { in AddGuid()
102 void ProcessPacket(QuicGuid guid, const QuicEncryptedPacket& packet) { in ProcessPacket()
109 QuicEncryptedPacket* ConstructEncryptedPacket( in ConstructEncryptedPacket()
132 QuicEncryptedPacket* encrypted = framer_.EncryptPacket(ENCRYPTION_NONE, in ConstructEncryptedPacket()
164 QuicEncryptedPacket encrypted(std::tr1::get<0>(packet_buffer), in MatchAndExplain()
200 new QuicEncryptedPacket( in TEST_F()
203 scoped_ptr<QuicEncryptedPacket> packet( in TEST_F()
217 scoped_ptr<QuicEncryptedPacket> packet( in TEST_F()
233 scoped_ptr<QuicEncryptedPacket> packet( in TEST_F()
250 QuicEncryptedPacket packet(buffer, arraysize(buffer)); in TEST_F()
[all …]
Dquic_server_test.cc27 void MaybeDispatchPacket(const QuicEncryptedPacket& packet) { in MaybeDispatchPacket()
43 QuicEncryptedPacket encrypted_invalid_packet( in TEST_F()
64 QuicEncryptedPacket encrypted_valid_packet(QuicUtils::AsChars(valid_packet), in TEST_F()
Dquic_time_wait_list_manager.h57 QuicEncryptedPacket* close_packet); // Owned.
71 const QuicEncryptedPacket& packet);
148 QuicEncryptedPacket* close_packet) in GuidData()
154 QuicEncryptedPacket* close_packet;
Dquic_time_wait_list_manager.cc76 QuicEncryptedPacket* packet) in QueuedPacket()
84 QuicEncryptedPacket* packet() { return packet_.get(); } in packet()
89 scoped_ptr<QuicEncryptedPacket> packet_;
123 QuicEncryptedPacket* close_packet) { in AddGuidToTimeWait()
140 const QuicEncryptedPacket& packet) { in ProcessPacket()
Dquic_dispatcher_test.cc114 QuicEncryptedPacket(data.data(), data.length())); in ProcessPacket()
117 void ValidatePacket(const QuicEncryptedPacket& packet) { in ValidatePacket()
176 const QuicEncryptedPacket& packet));
201 scoped_ptr<QuicEncryptedPacket> encrypted( in TEST_F()
Dquic_dispatcher.cc92 const QuicEncryptedPacket& packet) { in ProcessPacket()
138 QuicEncryptedPacket* connection_close_packet = in CleanUpSession()
Dquic_server.cc195 const QuicEncryptedPacket& packet, in MaybeDispatchPacket()
228 QuicEncryptedPacket packet(buf, bytes_read, false); in ReadAndDispatchSinglePacket()
Dquic_server.h69 const QuicEncryptedPacket& packet,
Dquic_dispatcher.h81 const QuicEncryptedPacket& packet);
/external/chromium_org/net/tools/quic/test_tools/
Dquic_test_utils.h68 const QuicEncryptedPacket& packet));
82 const QuicEncryptedPacket& packet) { in ReallyProcessUdpPacket()
Dmock_quic_dispatcher.h32 const QuicEncryptedPacket& packet));
/external/chromium_org/net/quic/test_tools/
Dsimple_quic_framer.cc150 scoped_ptr<QuicEncryptedPacket> encrypted(framer_.EncryptPacket( in ProcessPacket()
155 bool SimpleQuicFramer::ProcessPacket(const QuicEncryptedPacket& packet) { in ProcessPacket()
Dsimple_quic_framer.h34 bool ProcessPacket(const QuicEncryptedPacket& packet);
Dquic_test_utils.h272 const QuicEncryptedPacket& packet));
286 const QuicEncryptedPacket& packet) { in ProcessUdpPacketInternal()
311 std::vector<QuicEncryptedPacket*> encrypted_packets_;

12