Searched refs:addr_attr (Results 1 – 4 of 4) sorted by relevance
552 StunAddressAttribute* addr_attr = in SendTo() local554 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() local695 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 …]
451 StunAddressAttribute* addr_attr = in HandleStunAllocate() local453 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() local476 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() local634 addr_attr->SetFamily(1); in Send()[all …]
62 const StunAddressAttribute* addr_attr = in OnResponse() local64 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()
346 StunAddressAttribute* addr_attr = in SendBindingResponse() local348 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()