Searched refs:addr_attr (Results 1 – 8 of 8) sorted by relevance
/external/webrtc/webrtc/p2p/base/ |
D | relayport.cc | 589 StunAddressAttribute* addr_attr = in SendTo() local 591 addr_attr->SetIP(addr.ipaddr()); in SendTo() 592 addr_attr->SetPort(addr.port()); in SendTo() 593 VERIFY(request.AddAttribute(addr_attr)); in SendTo() 732 const StunAddressAttribute* addr_attr = in OnReadPacket() local 734 if (!addr_attr) { in OnReadPacket() 737 } else if (addr_attr->family() != 1) { in OnReadPacket() 742 rtc::SocketAddress remote_addr2(addr_attr->ipaddr(), addr_attr->port()); in OnReadPacket() 811 const StunAddressAttribute* addr_attr = in OnResponse() local 813 if (!addr_attr) { in OnResponse() [all …]
|
D | relayserver.cc | 431 StunAddressAttribute* addr_attr = in HandleStunAllocate() local 433 addr_attr->SetIP(ext_addr.ipaddr()); in HandleStunAllocate() 434 addr_attr->SetPort(ext_addr.port()); in HandleStunAllocate() 435 response.AddAttribute(addr_attr); in HandleStunAllocate() 453 const StunAddressAttribute* addr_attr = in HandleStunSend() local 455 if (!addr_attr) { in HandleStunSend() 467 rtc::SocketAddress ext_addr(addr_attr->ipaddr(), addr_attr->port()); in HandleStunSend() 610 StunAddressAttribute* addr_attr = in Send() local 612 addr_attr->SetIP(from_addr.ipaddr()); in Send() 613 addr_attr->SetPort(from_addr.port()); in Send() [all …]
|
D | stunport.cc | 53 const StunAddressAttribute* addr_attr = in OnResponse() local 55 if (!addr_attr) { in OnResponse() 57 } else if (addr_attr->family() != STUN_ADDRESS_IPV4 && in OnResponse() 58 addr_attr->family() != STUN_ADDRESS_IPV6) { in OnResponse() 61 rtc::SocketAddress addr(addr_attr->ipaddr(), addr_attr->port()); in OnResponse()
|
D | turnport.cc | 790 const StunAddressAttribute* addr_attr = in HandleDataIndication() local 792 if (!addr_attr) { in HandleDataIndication() 807 rtc::SocketAddress ext_addr(addr_attr->GetAddress()); in HandleDataIndication()
|
D | port_unittest.cc | 1652 const StunAddressAttribute* addr_attr = msg->GetAddress( in TEST_F() local 1654 ASSERT_TRUE(addr_attr != NULL); in TEST_F() 1655 EXPECT_EQ(lport->Candidates()[0].address(), addr_attr->GetAddress()); in TEST_F()
|
/external/iproute2/tc/ |
D | f_flower.c | 954 struct rtattr *addr_attr, in flower_print_eth_addr() argument 960 if (!addr_attr || RTA_PAYLOAD(addr_attr) != ETH_ALEN) in flower_print_eth_addr() 962 fprintf(f, "\n %s %s", name, ll_addr_n2a(RTA_DATA(addr_attr), ETH_ALEN, in flower_print_eth_addr() 1074 struct rtattr *addr_attr; in flower_print_ip_addr() local 1082 addr_attr = addr4_attr; in flower_print_ip_addr() 1087 addr_attr = addr6_attr; in flower_print_ip_addr() 1093 if (!addr_attr || RTA_PAYLOAD(addr_attr) != len) in flower_print_ip_addr() 1095 fprintf(f, "\n %s %s", name, rt_addr_n2a_rta(family, addr_attr)); in flower_print_ip_addr() 1105 struct rtattr *addr_attr, in flower_print_ip4_addr() argument 1109 addr_attr, mask_attr, 0, 0); in flower_print_ip4_addr()
|
/external/webrtc/webrtc/p2p/stunprober/ |
D | stunprober.cc | 182 const cricket::StunAddressAttribute* addr_attr = in ProcessResponse() local 184 if (addr_attr == nullptr) { in ProcessResponse() 189 if (addr_attr->family() != cricket::STUN_ADDRESS_IPV4 && in ProcessResponse() 190 addr_attr->family() != cricket::STUN_ADDRESS_IPV6) { in ProcessResponse() 196 srflx_addr = addr_attr->GetAddress(); in ProcessResponse()
|
/external/elfutils/tests/ |
D | varlocs.c | 666 Dwarf_Attribute addr_attr; in print_expr() local 667 if (dwarf_getlocation_attr (attr, expr, &addr_attr) != 0) in print_expr() 672 if (dwarf_formaddr (&addr_attr, &address) != 0) in print_expr() 684 Dwarf_Attribute addr_attr; in print_expr() local 685 if (dwarf_getlocation_attr (attr, expr, &addr_attr) != 0) in print_expr() 690 if (dwarf_formudata (&addr_attr, &constant) != 0) in print_expr()
|