Home
last modified time | relevance | path

Searched refs:source_address_token (Results 1 – 21 of 21) sorted by relevance

/external/chromium_org/net/http/
Ddisk_cache_based_quic_server_info_unittest.cc94 state->source_address_token = source_address_token_a; in TEST()
128 EXPECT_EQ(source_address_token_a, state1.source_address_token); in TEST()
160 state1->source_address_token = source_address_token_a; in TEST()
184 state2->source_address_token = source_address_token_b; in TEST()
202 EXPECT_EQ(source_address_token_a, state_a.source_address_token); in TEST()
217 EXPECT_EQ(source_address_token_b, state_b.source_address_token); in TEST()
249 state->source_address_token = source_address_token_a; in TEST()
274 EXPECT_EQ(source_address_token_a, state1.source_address_token); in TEST()
/external/chromium_org/net/quic/crypto/
Dquic_crypto_client_config_test.cc51 EXPECT_EQ(state.source_address_token(), other.source_address_token()); in TEST()
176 EXPECT_EQ(state->source_address_token(), other->source_address_token()); in TEST()
199 EXPECT_EQ(state->source_address_token(), other->source_address_token()); in TEST()
Dquic_server_info.cc27 source_address_token.clear(); in Clear()
84 if (!p.ReadString(&iter, &state->source_address_token)) { in ParseInner()
123 !p.WriteString(state_.source_address_token) || in SerializeInner()
Dquic_crypto_client_config.h85 const std::string& source_address_token() const;
106 base::StringPiece source_address_token,
Dquic_crypto_client_config.cc180 StringPiece source_address_token, in Initialize() argument
199 source_address_token.CopyToString(&source_address_token_); in Initialize()
209 QuicCryptoClientConfig::CachedState::source_address_token() const { in source_address_token() function in net::QuicCryptoClientConfig::CachedState
312 if (!cached->source_address_token().empty()) { in FillInchoateClientHello()
313 out->SetStringPiece(kSourceAddressTokenTag, cached->source_address_token()); in FillInchoateClientHello()
Dquic_server_info.h71 std::string source_address_token; // An opaque proof of IP ownership. member
Dquic_crypto_server_config.cc1342 SourceAddressToken source_address_token; in NewSourceAddressToken() local
1347 source_address_token.set_ip(IPAddressToPackedString(ip_address)); in NewSourceAddressToken()
1348 source_address_token.set_timestamp(now.ToUNIXSeconds()); in NewSourceAddressToken()
1351 rand, source_address_token.SerializeAsString()); in NewSourceAddressToken()
1365 SourceAddressToken source_address_token; in ValidateSourceAddressToken() local
1366 if (!source_address_token.ParseFromArray(plaintext.data(), in ValidateSourceAddressToken()
1375 if (source_address_token.ip() != IPAddressToPackedString(ip_address)) { in ValidateSourceAddressToken()
1381 QuicWallTime::FromUNIXSeconds(source_address_token.timestamp())); in ValidateSourceAddressToken()
/external/chromium_org/net/quic/
Dquic_stream_factory_test.cc1101 EXPECT_TRUE(cached1->source_address_token().empty()); in TEST_P()
1112 EXPECT_EQ(cached1->source_address_token(), cached2->source_address_token()); in TEST_P()
1135 EXPECT_TRUE(cached1->source_address_token().empty()); in TEST_P()
1146 EXPECT_NE(cached1->source_address_token(), cached2->source_address_token()); in TEST_P()
1147 EXPECT_TRUE(cached2->source_address_token().empty()); in TEST_P()
Dquic_client_session.cc649 state->source_address_token = cached.source_address_token(); in OnProofValid()
Dquic_stream_factory.cc890 server_info->state().source_address_token, in InitializeCachedStateInCryptoConfig()
/external/chromium_org/net/
Dnet.target.linux-x86_64.mk351 net/quic/crypto/source_address_token.cc \
Dnet.target.darwin-x86_64.mk351 net/quic/crypto/source_address_token.cc \
Dnet.target.darwin-mips.mk351 net/quic/crypto/source_address_token.cc \
Dnet.target.darwin-arm64.mk351 net/quic/crypto/source_address_token.cc \
Dnet.target.darwin-arm.mk351 net/quic/crypto/source_address_token.cc \
Dnet.target.linux-arm.mk351 net/quic/crypto/source_address_token.cc \
Dnet.target.darwin-x86.mk351 net/quic/crypto/source_address_token.cc \
Dnet.target.linux-mips.mk351 net/quic/crypto/source_address_token.cc \
Dnet.target.linux-arm64.mk351 net/quic/crypto/source_address_token.cc \
Dnet.target.linux-x86.mk351 net/quic/crypto/source_address_token.cc \
Dnet.gypi827 'quic/crypto/source_address_token.cc',
828 'quic/crypto/source_address_token.h',