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

Side by Side Diff: net/quic/proto/source_address_token.proto

Issue 2193073003: Move shared files in net/quic/ into net/quic/core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: io_thread_unittest.cc Created 4 years, 4 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/proto/cached_network_parameters.proto ('k') | net/quic/quic_address_mismatch.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 syntax = "proto2";
6
7 option optimize_for = LITE_RUNTIME;
8
9 import "cached_network_parameters.proto";
10
11 package net;
12
13 // A SourceAddressToken is serialised, encrypted and sent to clients so that
14 // they can prove ownership of an IP address.
15 message SourceAddressToken {
16 // ip contains either 4 (IPv4) or 16 (IPv6) bytes of IP address in network
17 // byte order.
18 required bytes ip = 1;
19 // timestamp contains a UNIX timestamp value of the time when the token was
20 // created.
21 required int64 timestamp = 2;
22 // The server can provide estimated network parameters to be used for
23 // initial parameter selection in future connections.
24 optional CachedNetworkParameters cached_network_parameters = 3;
25 };
26
27 // SourceAddressTokens are simply lists of SourceAddressToken messages.
28 message SourceAddressTokens {
29 // This field has id 4 to avoid ambiguity between the serialized form of
30 // SourceAddressToken vs SourceAddressTokens.
31 repeated SourceAddressToken tokens = 4;
32 };
OLDNEW
« no previous file with comments | « net/quic/proto/cached_network_parameters.proto ('k') | net/quic/quic_address_mismatch.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698