Searched refs:username_attr (Results 1 – 3 of 3) sorted by relevance
/external/chromium/third_party/libjingle/source/talk/p2p/base/ |
D | port.cc | 249 const StunByteStringAttribute* username_attr = in GetStunMessage() local 252 int remote_frag_len = (username_attr ? username_attr->length() : 0); in GetStunMessage() 261 } else if (std::memcmp(username_attr->bytes(), username_frag_.c_str(), in GetStunMessage() 264 << std::string(username_attr->bytes(), in GetStunMessage() 265 username_attr->length()) << " from " in GetStunMessage() 272 out_username->assign(username_attr->bytes() + username_frag_.size(), in GetStunMessage() 273 username_attr->bytes() + username_attr->length()); in GetStunMessage() 281 } else if (std::memcmp(username_attr->bytes() + remote_frag_len, in GetStunMessage() 285 << std::string(username_attr->bytes(), in GetStunMessage() 286 username_attr->length()) << " from " in GetStunMessage() [all …]
|
D | relayserver.cc | 276 const StunByteStringAttribute* username_attr = in OnExternalPacket() local 278 if (!username_attr) { in OnExternalPacket() 283 uint32 length = talk_base::_min(static_cast<uint32>(username_attr->length()), in OnExternalPacket() 285 std::string username(username_attr->bytes(), length); in OnExternalPacket() 325 const StunByteStringAttribute* username_attr = in HandleStun() local 327 if (!username_attr) { in HandleStun() 334 username->append(username_attr->bytes(), username_attr->length()); in HandleStun()
|
D | relayport.cc | 546 StunByteStringAttribute* username_attr = in SendTo() local 548 username_attr->CopyBytes(port_->username_fragment().c_str(), in SendTo() 550 request.AddAttribute(username_attr); in SendTo() 741 StunByteStringAttribute* username_attr = in Prepare() local 743 username_attr->CopyBytes( in Prepare() 746 request->AddAttribute(username_attr); in Prepare()
|