Home
last modified time | relevance | path

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

/external/iproute2/tc/
Df_flower.c333 struct rtattr *addr_attr, in flower_print_eth_addr() argument
339 if (!addr_attr || RTA_PAYLOAD(addr_attr) != ETH_ALEN) in flower_print_eth_addr()
341 fprintf(f, "\n %s %s", name, ll_addr_n2a(RTA_DATA(addr_attr), ETH_ALEN, in flower_print_eth_addr()
398 struct rtattr *addr_attr; in flower_print_ip_addr() local
406 addr_attr = addr4_attr; in flower_print_ip_addr()
411 addr_attr = addr6_attr; in flower_print_ip_addr()
417 if (!addr_attr || RTA_PAYLOAD(addr_attr) != len) in flower_print_ip_addr()
420 RTA_PAYLOAD(addr_attr), in flower_print_ip_addr()
421 RTA_DATA(addr_attr), in flower_print_ip_addr()
/external/webrtc/webrtc/p2p/base/
Drelayport.cc589 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 …]
Drelayserver.cc431 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 …]
Dstunport.cc53 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()
Dturnport.cc790 const StunAddressAttribute* addr_attr = in HandleDataIndication() local
792 if (!addr_attr) { in HandleDataIndication()
807 rtc::SocketAddress ext_addr(addr_attr->GetAddress()); in HandleDataIndication()
Dport_unittest.cc1652 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/webrtc/webrtc/p2p/stunprober/
Dstunprober.cc182 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()