OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_CORE_QUIC_TYPES_H_ | 5 #ifndef NET_QUIC_CORE_QUIC_TYPES_H_ |
6 #define NET_QUIC_CORE_QUIC_TYPES_H_ | 6 #define NET_QUIC_CORE_QUIC_TYPES_H_ |
7 | 7 |
8 #include <array> | 8 #include <array> |
9 #include <cstddef> | 9 #include <cstddef> |
10 #include <map> | 10 #include <map> |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 // IPv4 address changed, excluding /24 subnet change (port may have changed.) | 254 // IPv4 address changed, excluding /24 subnet change (port may have changed.) |
255 IPV4_TO_IPV4_CHANGE, | 255 IPV4_TO_IPV4_CHANGE, |
256 // IP address change from an IPv4 to an IPv6 address (port may have changed.) | 256 // IP address change from an IPv4 to an IPv6 address (port may have changed.) |
257 IPV4_TO_IPV6_CHANGE, | 257 IPV4_TO_IPV6_CHANGE, |
258 // IP address change from an IPv6 to an IPv4 address (port may have changed.) | 258 // IP address change from an IPv6 to an IPv4 address (port may have changed.) |
259 IPV6_TO_IPV4_CHANGE, | 259 IPV6_TO_IPV4_CHANGE, |
260 // IP address change from an IPv6 to an IPv6 address (port may have changed.) | 260 // IP address change from an IPv6 to an IPv6 address (port may have changed.) |
261 IPV6_TO_IPV6_CHANGE, | 261 IPV6_TO_IPV6_CHANGE, |
262 }; | 262 }; |
263 | 263 |
| 264 enum StreamSendingState { |
| 265 // Sender has more data to send on this stream. |
| 266 NO_FIN, |
| 267 // Sender is done sending on this stream. |
| 268 FIN, |
| 269 // Sender is done sending on this stream and random padding needs to be |
| 270 // appended after all stream frames. |
| 271 FIN_AND_PADDING, |
| 272 }; |
| 273 |
264 } // namespace net | 274 } // namespace net |
265 | 275 |
266 #endif // NET_QUIC_CORE_QUIC_TYPES_H_ | 276 #endif // NET_QUIC_CORE_QUIC_TYPES_H_ |
OLD | NEW |