Home
last modified time | relevance | path

Searched refs:magic_cookie (Results 1 – 4 of 4) sorted by relevance

/external/webrtc/webrtc/p2p/base/
Drelayserver.cc57 const char* error_desc, const std::string& magic_cookie) { in SendStunError() argument
64 if (magic_cookie.size() == 0) { in SendStunError()
68 magic_cookie_attr->CopyBytes(magic_cookie.c_str(), magic_cookie.size()); in SendStunError()
423 magic_cookie_attr->CopyBytes(int_conn->binding()->magic_cookie().c_str(), in HandleStunAllocate()
424 int_conn->binding()->magic_cookie().size()); in HandleStunAllocate()
496 magic_cookie_attr->CopyBytes(int_conn->binding()->magic_cookie().c_str(), in HandleStunSend()
497 int_conn->binding()->magic_cookie().size()); in HandleStunSend()
606 magic_cookie_attr->CopyBytes(binding_->magic_cookie().c_str(), in Send()
607 binding_->magic_cookie().size()); in Send()
639 binding_->magic_cookie()); in SendStunError()
Dstun.cc256 const char* magic_cookie = in ValidateFingerprint() local
258 if (rtc::GetBE32(magic_cookie) != kStunMagicCookie) in ValidateFingerprint()
309 std::string magic_cookie; in Read() local
310 if (!buf->ReadString(&magic_cookie, kStunMagicCookieLength)) in Read()
318 *reinterpret_cast<const uint32_t*>(magic_cookie.data()); in Read()
322 transaction_id.insert(0, magic_cookie); in Read()
Drelayserver.h194 const std::string& magic_cookie() { return magic_cookie_; } in magic_cookie() function
/external/tcpdump/
Dprint-pptp.c89 uint32_t magic_cookie; member
930 ND_TCHECK(hdr->magic_cookie); in pptp_print()
931 mc = EXTRACT_32BITS(&hdr->magic_cookie); in pptp_print()