Home
last modified time | relevance | path

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

/external/webrtc/webrtc/p2p/base/
Dstun.cc258 if (rtc::GetBE32(magic_cookie) != kStunMagicCookie) in ValidateFingerprint()
319 if (rtc::NetworkToHost32(magic_cookie_int) != kStunMagicCookie) { in Read()
363 buf->WriteUInt32(kStunMagicCookie); in Write()
578 (v4addr.s_addr ^ rtc::HostToNetwork32(kStunMagicCookie)); in GetXoredIP()
592 (ip_as_ints[0] ^ rtc::HostToNetwork32(kStunMagicCookie)); in GetXoredIP()
610 uint16_t xoredport = port() ^ (kStunMagicCookie >> 16); in Read()
628 buf->WriteUInt16(port() ^ (kStunMagicCookie >> 16)); in Write()
Dstun.h109 const uint32_t kStunMagicCookie = 0x2112A442; variable
110 const size_t kStunMagicCookieLength = sizeof(kStunMagicCookie);