Home
last modified time | relevance | path

Searched refs:kStunMagicCookie (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/api/transport/
Dstun.cc71 stun_magic_cookie_(kStunMagicCookie) { in StunMessage()
369 if (rtc::GetBE32(magic_cookie) != kStunMagicCookie) in ValidateFingerprint()
396 if (rtc::GetBE32(magic_cookie) != kStunMagicCookie) in IsStunMethod()
459 if (rtc::NetworkToHost32(magic_cookie_int) != kStunMagicCookie) { in Read()
817 (v4addr.s_addr ^ rtc::HostToNetwork32(kStunMagicCookie)); in GetXoredIP()
831 (ip_as_ints[0] ^ rtc::HostToNetwork32(kStunMagicCookie)); in GetXoredIP()
849 uint16_t xoredport = port() ^ (kStunMagicCookie >> 16); in Read()
867 buf->WriteUInt16(port() ^ (kStunMagicCookie >> 16)); in Write()
Dstun.h120 const uint32_t kStunMagicCookie = 0x2112A442; variable
121 constexpr size_t kStunMagicCookieLength = sizeof(kStunMagicCookie);