Home
last modified time | relevance | path

Searched refs:GetByteString (Results 1 – 9 of 9) sorted by relevance

/aosp_15_r20/external/webrtc/api/transport/
H A Dstun_unittest.cc652 msg.GetByteString(STUN_ATTR_SOFTWARE); in TEST_F()
657 msg.GetByteString(STUN_ATTR_USERNAME); in TEST_F()
662 ASSERT_TRUE(msg.GetByteString(STUN_ATTR_MESSAGE_INTEGRITY) != NULL); in TEST_F()
679 msg.GetByteString(STUN_ATTR_SOFTWARE); in TEST_F()
689 ASSERT_TRUE(msg.GetByteString(STUN_ATTR_MESSAGE_INTEGRITY) != NULL); in TEST_F()
702 msg.GetByteString(STUN_ATTR_SOFTWARE); in TEST_F()
712 ASSERT_TRUE(msg.GetByteString(STUN_ATTR_MESSAGE_INTEGRITY) != NULL); in TEST_F()
725 msg.GetByteString(STUN_ATTR_USERNAME); in TEST_F()
729 const StunByteStringAttribute* nonce = msg.GetByteString(STUN_ATTR_NONCE); in TEST_F()
733 const StunByteStringAttribute* realm = msg.GetByteString(STUN_ATTR_REALM); in TEST_F()
[all …]
H A Dstun.cc217 const StunByteStringAttribute* StunMessage::GetByteString(int type) const { in GetByteString() function in cricket::StunMessage
245 if (GetByteString(STUN_ATTR_MESSAGE_INTEGRITY)) { in ValidateMessageIntegrity()
253 } else if (GetByteString(STUN_ATTR_GOOG_MESSAGE_INTEGRITY_32)) { in ValidateMessageIntegrity()
H A Dstun.h200 const StunByteStringAttribute* GetByteString(int type) const;
/aosp_15_r20/external/webrtc/p2p/base/
H A Dturn_server.cc247 msg.GetByteString(STUN_ATTR_USERNAME)->string_view() != in HandleStunMessage()
263 msg->GetByteString(STUN_ATTR_USERNAME); in GetKey()
281 msg->GetByteString(STUN_ATTR_MESSAGE_INTEGRITY); in CheckAuthorization()
283 msg->GetByteString(STUN_ATTR_USERNAME); in CheckAuthorization()
285 msg->GetByteString(STUN_ATTR_REALM); in CheckAuthorization()
287 msg->GetByteString(STUN_ATTR_NONCE); in CheckAuthorization()
610 msg->GetByteString(STUN_ATTR_USERNAME); in HandleAllocateRequest()
662 const StunByteStringAttribute* data_attr = msg->GetByteString(STUN_ATTR_DATA); in HandleSendIndication()
H A Dport_unittest.cc351 msg->GetByteString(STUN_ATTR_MESSAGE_INTEGRITY); in OnUnknownAddress()
1510 msg->GetByteString(STUN_ATTR_USERNAME); in TEST_F()
1865 msg->GetByteString(STUN_ATTR_USERNAME); in TEST_F()
1871 EXPECT_TRUE(msg->GetByteString(STUN_ATTR_MESSAGE_INTEGRITY) != NULL); in TEST_F()
1878 EXPECT_TRUE(msg->GetByteString(STUN_ATTR_ICE_CONTROLLED) == NULL); in TEST_F()
1879 EXPECT_TRUE(msg->GetByteString(STUN_ATTR_USE_CANDIDATE) != NULL); in TEST_F()
1911 EXPECT_TRUE(msg->GetByteString(STUN_ATTR_MESSAGE_INTEGRITY) != NULL); in TEST_F()
1918 EXPECT_TRUE(msg->GetByteString(STUN_ATTR_USERNAME) == NULL); in TEST_F()
1919 EXPECT_TRUE(msg->GetByteString(STUN_ATTR_PRIORITY) == NULL); in TEST_F()
1920 EXPECT_TRUE(msg->GetByteString(STUN_ATTR_MAPPED_ADDRESS) == NULL); in TEST_F()
[all …]
H A Dturn_port.cc1027 const StunByteStringAttribute* data_attr = msg.GetByteString(STUN_ATTR_DATA); in HandleDataIndication()
1170 response->GetByteString(STUN_ATTR_REALM); in UpdateNonce()
1179 response->GetByteString(STUN_ATTR_NONCE); in UpdateNonce()
1442 response->GetByteString(STUN_ATTR_REALM); in OnAuthChallenge()
1452 response->GetByteString(STUN_ATTR_NONCE); in OnAuthChallenge()
1489 response->GetByteString(STUN_ATTR_REALM); in OnTryAlternate()
1498 response->GetByteString(STUN_ATTR_NONCE); in OnTryAlternate()
H A Dport.cc465 if (!stun_msg->GetByteString(STUN_ATTR_USERNAME) || in GetStunMessage()
466 !stun_msg->GetByteString(STUN_ATTR_MESSAGE_INTEGRITY)) { in GetStunMessage()
640 stun_msg->GetByteString(STUN_ATTR_USERNAME); in ParseStunUsername()
H A Dconnection.cc616 msg->GetByteString(STUN_ATTR_USE_CANDIDATE); in HandleStunBindingOrGoogPingRequest()
654 message->GetByteString(STUN_ATTR_USERNAME); in SendStunBindingResponse()
1056 msg->GetByteString(STUN_ATTR_GOOG_LAST_ICE_CHECK_RECEIVED); in HandlePiggybackCheckAcknowledgementIfAny()
H A Dturn_port_unittest.cc887 msg->GetByteString(cricket::STUN_ATTR_TURN_LOGGING_ID); in ReceivedMessage()
1682 msg->GetByteString(TestTurnCustomizer::STUN_ATTR_COUNTER); in ReceivedMessage()