Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(68)

Side by Side Diff: net/quic/core/quic_protocol.h

Issue 2409013002: relnote: Remove rejected packet number from public reset packet. (Closed)
Patch Set: flip the flag default to false Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/quic/core/quic_framer_test.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_QUIC_QUIC_PROTOCOL_H_ 5 #ifndef NET_QUIC_QUIC_PROTOCOL_H_
6 #define NET_QUIC_QUIC_PROTOCOL_H_ 6 #define NET_QUIC_QUIC_PROTOCOL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 750 matching lines...) Expand 10 before | Expand all | Expand 10 after
761 bool entropy_flag; 761 bool entropy_flag;
762 QuicPacketEntropyHash entropy_hash; 762 QuicPacketEntropyHash entropy_hash;
763 }; 763 };
764 764
765 struct NET_EXPORT_PRIVATE QuicPublicResetPacket { 765 struct NET_EXPORT_PRIVATE QuicPublicResetPacket {
766 QuicPublicResetPacket(); 766 QuicPublicResetPacket();
767 explicit QuicPublicResetPacket(const QuicPacketPublicHeader& header); 767 explicit QuicPublicResetPacket(const QuicPacketPublicHeader& header);
768 768
769 QuicPacketPublicHeader public_header; 769 QuicPacketPublicHeader public_header;
770 QuicPublicResetNonceProof nonce_proof; 770 QuicPublicResetNonceProof nonce_proof;
771 // TODO(fayang): remove rejected_packet_number when deprecating
772 // FLAGS_quic_remove_packet_number_from_public_reset.
771 QuicPacketNumber rejected_packet_number; 773 QuicPacketNumber rejected_packet_number;
772 IPEndPoint client_address; 774 IPEndPoint client_address;
773 }; 775 };
774 776
775 enum QuicVersionNegotiationState { 777 enum QuicVersionNegotiationState {
776 START_NEGOTIATION = 0, 778 START_NEGOTIATION = 0,
777 // Server-side this implies we've sent a version negotiation packet and are 779 // Server-side this implies we've sent a version negotiation packet and are
778 // waiting on the client to select a compatible version. Client-side this 780 // waiting on the client to select a compatible version. Client-side this
779 // implies we've gotten a version negotiation packet, are retransmitting the 781 // implies we've gotten a version negotiation packet, are retransmitting the
780 // initial packets with a supported version and are waiting for our first 782 // initial packets with a supported version and are waiting for our first
(...skipping 743 matching lines...) Expand 10 before | Expand all | Expand 10 after
1524 : iov(iov), iov_count(iov_count), total_length(total_length) {} 1526 : iov(iov), iov_count(iov_count), total_length(total_length) {}
1525 1527
1526 const struct iovec* iov; 1528 const struct iovec* iov;
1527 const int iov_count; 1529 const int iov_count;
1528 const size_t total_length; 1530 const size_t total_length;
1529 }; 1531 };
1530 1532
1531 } // namespace net 1533 } // namespace net
1532 1534
1533 #endif // NET_QUIC_QUIC_PROTOCOL_H_ 1535 #endif // NET_QUIC_QUIC_PROTOCOL_H_
OLDNEW
« no previous file with comments | « net/quic/core/quic_framer_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698