Home
last modified time | relevance | path

Searched refs:data_attr (Results 1 – 5 of 5) sorted by relevance

/external/webrtc/webrtc/p2p/base/
Drelayserver.cc460 const StunByteStringAttribute* data_attr = in HandleStunSend() local
462 if (!data_attr) { in HandleStunSend()
482 ext_conn->Send(data_attr->bytes(), data_attr->length()); in HandleStunSend()
616 StunByteStringAttribute* data_attr = in Send() local
619 data_attr->CopyBytes(data, uint16_t(size)); in Send()
620 msg.AddAttribute(data_attr); in Send()
Drelayport.cc603 StunByteStringAttribute* data_attr = in SendTo() local
605 data_attr->CopyBytes(data, size); in SendTo()
606 VERIFY(request.AddAttribute(data_attr)); in SendTo()
744 const StunByteStringAttribute* data_attr = msg.GetByteString(STUN_ATTR_DATA); in OnReadPacket() local
745 if (!data_attr) { in OnReadPacket()
751 port_->OnReadPacket(data_attr->bytes(), data_attr->length(), remote_addr2, in OnReadPacket()
Drelayserver_unittest.cc509 StunByteStringAttribute* data_attr = in TEST_F() local
511 data_attr->CopyBytes(msg1); in TEST_F()
512 req->AddAttribute(data_attr); in TEST_F()
Dturnserver.cc673 const StunByteStringAttribute* data_attr = msg->GetByteString(STUN_ATTR_DATA); in HandleSendIndication() local
676 if (!data_attr || !peer_attr) { in HandleSendIndication()
683 SendExternal(data_attr->bytes(), data_attr->length(), in HandleSendIndication()
Dturnport.cc798 const StunByteStringAttribute* data_attr = in HandleDataIndication() local
800 if (!data_attr) { in HandleDataIndication()
815 DispatchPacket(data_attr->bytes(), data_attr->length(), ext_addr, in HandleDataIndication()