Home
last modified time | relevance | path

Searched refs:magic_cookie (Results 1 – 5 of 5) 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/scapy/test/
Dpptp.uts487 assert start_control_connection_pkt.magic_cookie == 0x1a2b3c4d
515 assert start_control_connection_reply_pkt.magic_cookie == 0x1a2b3c4d
539 assert stop_control_connection_pkt.magic_cookie == 0x1a2b3c4d
552 assert stop_control_connection_reply_pkt.magic_cookie == 0x1a2b3c4d
571 assert echo_request_pkt.magic_cookie == 0x1a2b3c4d
584 assert echo_reply_pkt.magic_cookie == 0x1a2b3c4d
619 assert outgoing_call_pkt.magic_cookie == 0x1a2b3c4d
646 assert outgoing_call_reply_pkt.magic_cookie == 0x1a2b3c4d
685 assert incoming_call_pkt.magic_cookie == 0x1a2b3c4d
706 assert incoming_call_reply_pkt.magic_cookie == 0x1a2b3c4d
[all …]
/external/tcpdump/
Dprint-pptp.c90 uint32_t magic_cookie; member
931 ND_TCHECK(hdr->magic_cookie); in pptp_print()
932 mc = EXTRACT_32BITS(&hdr->magic_cookie); in pptp_print()