Home
last modified time | relevance | path

Searched refs:source_address_token (Results 1 – 24 of 24) 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.cc63 EXPECT_EQ(state.source_address_token(), other.source_address_token()); in TEST()
188 EXPECT_EQ(state->source_address_token(), other->source_address_token()); in TEST()
211 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_server_info.h71 std::string source_address_token; // An opaque proof of IP ownership. member
Dquic_crypto_client_config.cc222 StringPiece source_address_token, in Initialize() argument
241 source_address_token.CopyToString(&source_address_token_); in Initialize()
251 QuicCryptoClientConfig::CachedState::source_address_token() const { in source_address_token() function in net::QuicCryptoClientConfig::CachedState
357 if (!cached->source_address_token().empty()) { in FillInchoateClientHello()
358 out->SetStringPiece(kSourceAddressTokenTag, cached->source_address_token()); in FillInchoateClientHello()
Dquic_crypto_server_config.cc1422 SourceAddressToken source_address_token; in NewSourceAddressToken() local
1423 source_address_token.set_ip(IPAddressToPackedString(ip_address)); in NewSourceAddressToken()
1424 source_address_token.set_timestamp(now.ToUNIXSeconds()); in NewSourceAddressToken()
1426 source_address_token.set_cached_network_parameters(*cached_network_params); in NewSourceAddressToken()
1430 rand, source_address_token.SerializeAsString()); in NewSourceAddressToken()
1444 SourceAddressToken source_address_token; in ValidateSourceAddressToken() local
1445 if (!source_address_token.ParseFromArray(plaintext.data(), in ValidateSourceAddressToken()
1454 if (source_address_token.ip() != IPAddressToPackedString(ip_address)) { in ValidateSourceAddressToken()
1460 QuicWallTime::FromUNIXSeconds(source_address_token.timestamp())); in ValidateSourceAddressToken()
/external/chromium_org/net/quic/
Dquic_crypto_client_stream_test.cc152 EXPECT_NE("xstk", state->source_address_token()); in TEST_F()
185 EXPECT_EQ("xstk", state->source_address_token()); in TEST_F()
Dquic_stream_factory_test.cc1462 EXPECT_TRUE(cached1->source_address_token().empty()); in TEST_P()
1473 EXPECT_EQ(cached1->source_address_token(), cached2->source_address_token()); in TEST_P()
1496 EXPECT_TRUE(cached1->source_address_token().empty()); in TEST_P()
1507 EXPECT_NE(cached1->source_address_token(), cached2->source_address_token()); in TEST_P()
1508 EXPECT_TRUE(cached2->source_address_token().empty()); in TEST_P()
Dquic_client_session.cc668 state->source_address_token = cached.source_address_token(); in OnProofValid()
Dquic_stream_factory.cc972 server_info->state().source_address_token, in InitializeCachedStateInCryptoConfig()
/external/chromium_org/net/
Dnet.target.linux-arm64.mk351 net/quic/crypto/source_address_token.cc \
Dnet.target.darwin-arm64.mk351 net/quic/crypto/source_address_token.cc \
Dnet.target.linux-x86.mk351 net/quic/crypto/source_address_token.cc \
Dnet.target.darwin-mips.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-arm.mk351 net/quic/crypto/source_address_token.cc \
Dnet.target.darwin-x86_64.mk351 net/quic/crypto/source_address_token.cc \
Dnet.target.darwin-arm.mk351 net/quic/crypto/source_address_token.cc \
Dnet.target.linux-mips64.mk351 net/quic/crypto/source_address_token.cc \
Dnet.target.darwin-mips64.mk351 net/quic/crypto/source_address_token.cc \
Dnet.target.linux-x86_64.mk351 net/quic/crypto/source_address_token.cc \
Dnet.gypi837 'quic/crypto/source_address_token.cc',
838 'quic/crypto/source_address_token.h',