Home
last modified time | relevance | path

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

/external/chromium/third_party/libjingle/source/talk/p2p/base/
Drelayport.cc552 StunAddressAttribute* addr_attr = in SendTo() local
554 addr_attr->SetFamily(1); in SendTo()
555 addr_attr->SetIP(addr.ip()); in SendTo()
556 addr_attr->SetPort(addr.port()); in SendTo()
557 request.AddAttribute(addr_attr); in SendTo()
693 const StunAddressAttribute* addr_attr = in OnReadPacket() local
695 if (!addr_attr) { in OnReadPacket()
698 } else if (addr_attr->family() != 1) { in OnReadPacket()
703 talk_base::SocketAddress remote_addr2(addr_attr->ip(), addr_attr->port()); in OnReadPacket()
758 const StunAddressAttribute* addr_attr = in OnResponse() local
[all …]
Drelayserver.cc451 StunAddressAttribute* addr_attr = in HandleStunAllocate() local
453 addr_attr->SetFamily(1); in HandleStunAllocate()
454 addr_attr->SetIP(ext_addr.ip()); in HandleStunAllocate()
455 addr_attr->SetPort(ext_addr.port()); in HandleStunAllocate()
456 response.AddAttribute(addr_attr); in HandleStunAllocate()
474 const StunAddressAttribute* addr_attr = in HandleStunSend() local
476 if (!addr_attr) { in HandleStunSend()
488 talk_base::SocketAddress ext_addr(addr_attr->ip(), addr_attr->port()); in HandleStunSend()
632 StunAddressAttribute* addr_attr = in Send() local
634 addr_attr->SetFamily(1); in Send()
[all …]
Dstunport.cc62 const StunAddressAttribute* addr_attr = in OnResponse() local
64 if (!addr_attr) { in OnResponse()
66 } else if (addr_attr->family() != 1) { in OnResponse()
69 talk_base::SocketAddress addr(addr_attr->ip(), addr_attr->port()); in OnResponse()
Dport.cc346 StunAddressAttribute* addr_attr = in SendBindingResponse() local
348 addr_attr->SetFamily(1); in SendBindingResponse()
349 addr_attr->SetPort(addr.port()); in SendBindingResponse()
350 addr_attr->SetIP(addr.ip()); in SendBindingResponse()
351 response.AddAttribute(addr_attr); in SendBindingResponse()