/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/third_party/ipaddr/ |
D | ipaddr_test.py | 23 import ipaddr 26 if issubclass(ipaddr.Bytes, str): 27 _cb = ipaddr.Bytes 34 self.ipv4 = ipaddr.IPv4Network('1.2.3.4/24') 35 self.ipv4_hostmask = ipaddr.IPv4Network('10.0.0.1/0.255.255.255') 36 self.ipv6 = ipaddr.IPv6Network('2001:658:22a:cafe:200:0:0:1/64') 46 repr(ipaddr.IPv4Network('1.2.3.4'))) 48 repr(ipaddr.IPv6Network('::1'))) 51 addr1 = ipaddr.IPv4Network('1.1.1.255/24') 52 addr1_masked = ipaddr.IPv4Network('1.1.1.0/24') [all …]
|
D | README.web-page-replay | 2 Short Name: ipaddr-py 3 URL: https://code.google.com/p/ipaddr-py/ 4 Version: 2.1.10 (ipaddr.__version__)
|
/external/syslinux/core/lwip/src/include/ipv4/lwip/ |
D | ip_addr.h | 139 #define IP4_ADDR(ipaddr, a,b,c,d) \ argument 140 (ipaddr)->addr = ((u32_t)((a) & 0xff) << 24) | \ 147 #define IP4_ADDR(ipaddr, a,b,c,d) \ argument 148 (ipaddr)->addr = ((u32_t)((d) & 0xff) << 24) | \ 168 #define ip_addr_set_zero(ipaddr) ((ipaddr)->addr = 0) argument 170 #define ip_addr_set_any(ipaddr) ((ipaddr)->addr = IPADDR_ANY) argument 172 #define ip_addr_set_loopback(ipaddr) ((ipaddr)->addr = PP_HTONL(IPADDR_LOOPBACK)) argument 202 #define ip_addr_isbroadcast(ipaddr, netif) ip4_addr_isbroadcast((ipaddr)->addr, (netif)) argument 212 #define ip_addr_debug_print(debug, ipaddr) \ argument 214 ipaddr != NULL ? ip4_addr1_16(ipaddr) : 0, \ [all …]
|
/external/iproute2/ip/ |
D | ifcfg | 67 ipaddr= 70 ipaddr=${1%/*} 71 if [ "$1" != "$ipaddr" ]; then 74 if [ "$ipaddr" = "" ]; then 87 pfx="$ipaddr peer $peer" 89 if [ "$ipaddr" = "" ]; then 94 ABCMaskLen $ipaddr 97 pfx="$ipaddr/$pfxlen" 100 if [ "$ldev" = "$dev" -a "$ipaddr" != "" ]; then 115 if [ "$ipaddr" = "" ]; then exit 0; fi [all …]
|
/external/ltp/testcases/network/multicast/mc_member/ |
D | mc_member | 53 local ipaddr=$(tst_ipaddr) 63 mc_member_test -g $GLIST -s 80 -i $ipaddr > $ERRFILE 2>&1 & 69 tst_resm TINFO "Running (1st) member on $ipaddr" 70 mc_member_test -j -g $GLIST -s 30 -i $ipaddr \ 76 "$ipaddr" 79 tst_resm TINFO "Running (2nd) member on $ipaddr" 80 mc_member_test -g $GLIST -s 60 -i $ipaddr \ 86 "$ipaddr" 95 tst_brkm TFAIL "$agroup NOT joined to $ipaddr" 107 "$ipaddr" [all …]
|
/external/syslinux/core/lwip/src/netif/ |
D | etharp.c | 100 ip_addr_t ipaddr; member 131 static err_t update_arp_entry(struct netif *netif, ip_addr_t *ipaddr, struct eth_addr *ethaddr, u8_… 172 snmp_delete_arpidx_tree(arp_table[i].netif, &arp_table[i].ipaddr); in free_entry() 191 ip_addr_set_zero(&arp_table[i].ipaddr); in free_entry() 258 find_entry(ip_addr_t *ipaddr, u8_t flags) in find_entry() argument 294 if (ipaddr && ip_addr_cmp(ipaddr, &arp_table[i].ipaddr)) { in find_entry() 388 if (ipaddr != NULL) { in find_entry() 390 ip_addr_copy(arp_table[i].ipaddr, *ipaddr); in find_entry() 443 update_arp_entry(struct netif *netif, ip_addr_t *ipaddr, struct eth_addr *ethaddr, u8_t flags) argument 448 ip4_addr1_16(ipaddr), ip4_addr2_16(ipaddr), ip4_addr3_16(ipaddr), ip4_addr4_16(ipaddr), [all …]
|
D | undiif.c | 152 struct ip_addr ipaddr; member 568 undiarp_request(struct netif *netif, struct ip_addr *ipaddr) in undiarp_request() argument 604 memcpy(hdr_ptr, ipaddr, 4); in undiarp_request() 663 snmp_delete_arpidx_tree(arp_table[i].netif, &arp_table[i].ipaddr); in undiarp_tmr() 709 find_entry(struct ip_addr *ipaddr, u8_t flags, struct netif *netif) in find_entry() argument 711 find_entry(struct ip_addr *ipaddr, u8_t flags) in find_entry() 726 if (ipaddr) { in find_entry() 734 if (ip_addr_cmp(ipaddr, &arp_table[per_pcb_cache].ipaddr)) { in find_entry() 744 if (ip_addr_cmp(ipaddr, &arp_table[undiarp_cached_entry].ipaddr)) { in find_entry() 778 if (ipaddr && ip_addr_cmp(ipaddr, &arp_table[i].ipaddr)) { in find_entry() [all …]
|
/external/openssh/ |
D | auth-rhosts.c | 56 const char *ipaddr, const char *client_user, in check_rhosts_file() argument 152 !innetgr(host + 1, ipaddr, NULL, NULL)) in check_rhosts_file() 155 strcmp(host, ipaddr) != 0) in check_rhosts_file() 192 const char *hostname, *ipaddr; in auth_rhosts() local 195 ipaddr = get_remote_ipaddr(); in auth_rhosts() 196 return auth_rhosts2(pw, client_user, hostname, ipaddr); in auth_rhosts() 201 const char *ipaddr) in auth_rhosts2_raw() argument 209 client_user, hostname, ipaddr); in auth_rhosts2_raw() 248 if (check_rhosts_file(_PATH_RHOSTS_EQUIV, hostname, ipaddr, in auth_rhosts2_raw() 251 "/etc/hosts.equiv.", hostname, ipaddr); in auth_rhosts2_raw() [all …]
|
D | auth2-hostbased.c | 163 const char *resolvedname, *ipaddr, *lookup, *reason; in hostbased_key_allowed() local 172 ipaddr = get_remote_ipaddr(); in hostbased_key_allowed() 175 chost, resolvedname, ipaddr); in hostbased_key_allowed() 194 chost, ipaddr, resolvedname); in hostbased_key_allowed() 195 if (auth_rhosts2(pw, cuser, resolvedname, ipaddr) == 0) { in hostbased_key_allowed() 198 __func__, cuser, resolvedname, ipaddr); in hostbased_key_allowed()
|
/external/syslinux/core/lwip/src/core/ |
D | raw.c | 142 raw_bind(struct raw_pcb *pcb, ip_addr_t *ipaddr) in raw_bind() argument 144 ip_addr_set(&pcb->local_ip, ipaddr); in raw_bind() 162 raw_connect(struct raw_pcb *pcb, ip_addr_t *ipaddr) in raw_connect() argument 164 ip_addr_set(&pcb->remote_ip, ipaddr); in raw_connect() 203 raw_sendto(struct raw_pcb *pcb, struct pbuf *p, ip_addr_t *ipaddr) in raw_sendto() argument 236 if ((netif = ip_route(ipaddr)) == NULL) { in raw_sendto() 238 ip4_addr1_16(ipaddr), ip4_addr2_16(ipaddr), ip4_addr3_16(ipaddr), ip4_addr4_16(ipaddr))); in raw_sendto() 248 if (((pcb->so_options & SOF_BROADCAST) == 0) && ip_addr_isbroadcast(ipaddr, netif)) { in raw_sendto() 269 err = ip_output_if (q, src_ip, ipaddr, pcb->ttl, pcb->tos, pcb->protocol, netif); in raw_sendto()
|
D | dns.c | 88 #define DNS_SERVER_ADDRESS(ipaddr) (ip4_addr_set_u32(ipaddr, ipaddr_addr("208.67.222.222")))… argument 177 ip_addr_t ipaddr; member 477 ip_addr_debug_print(DNS_DEBUG, &(dns_table[i].ipaddr)); in dns_lookup() 479 return ip4_addr_get_u32(&dns_table[i].ipaddr); in dns_lookup() 816 SMEMCPY(&(pEntry->ipaddr), (pHostname+SIZEOF_DNS_ANSWER), sizeof(ip_addr_t)); in dns_recv() 818 ip_addr_debug_print(DNS_DEBUG, (&(pEntry->ipaddr))); in dns_recv() 822 (*pEntry->found)(pEntry->name, &pEntry->ipaddr, pEntry->arg); in dns_recv() 944 u32_t ipaddr; in dns_gethostbyname() local 961 ipaddr = ipaddr_addr(hostname); in dns_gethostbyname() 962 if (ipaddr == IPADDR_NONE) { in dns_gethostbyname() [all …]
|
D | netif.c | 137 netif_add(struct netif *netif, ip_addr_t *ipaddr, ip_addr_t *netmask, in netif_add() argument 182 netif_set_addr(netif, ipaddr, netmask, gw); in netif_add() 203 ip_addr_debug_print(NETIF_DEBUG, ipaddr); in netif_add() 222 netif_set_addr(struct netif *netif, ip_addr_t *ipaddr, ip_addr_t *netmask, in netif_set_addr() argument 225 netif_set_ipaddr(netif, ipaddr); in netif_set_addr() 319 netif_set_ipaddr(struct netif *netif, ip_addr_t *ipaddr) in netif_set_ipaddr() argument 328 if ((ip_addr_cmp(ipaddr, &(netif->ip_addr))) == 0) { in netif_set_ipaddr() 355 ip_addr_set(&(lpcb->local_ip), ipaddr); in netif_set_ipaddr() 363 ip_addr_set(&(netif->ip_addr), ipaddr); in netif_set_ipaddr() 589 ip_addr_t *ipaddr) in netif_loop_output() argument [all …]
|
/external/webrtc/webrtc/base/ |
D | socketaddress_unittest.cc | 39 EXPECT_EQ(IPAddress(), addr.ipaddr()); in TEST() 47 EXPECT_EQ(IPAddress(0x01020304U), addr.ipaddr()); in TEST() 56 EXPECT_EQ(IPAddress(0x01020304U), addr.ipaddr()); in TEST() 67 EXPECT_EQ(tocheck, addr2.ipaddr()); in TEST() 77 EXPECT_EQ(IPAddress(0xFFFFFFFFU), addr.ipaddr()); in TEST() 86 EXPECT_EQ(IPAddress(), addr.ipaddr()); in TEST() 96 EXPECT_EQ(IPAddress(0x01020304U), addr.ipaddr()); in TEST() 107 EXPECT_EQ(IPAddress(0x01020304U), addr.ipaddr()); in TEST() 118 EXPECT_EQ(IPAddress(0x01020304U), addr.ipaddr()); in TEST() 129 EXPECT_EQ(IPAddress(0x01020304U), addr.ipaddr()); in TEST() [all …]
|
D | fakenetwork.h | 50 address.SetResolvedIP(iface.ipaddr()); in AddInterface() 96 if (it->first.ipaddr().family() == AF_INET) { in DoUpdateNetworks() 98 } else if (it->first.ipaddr().family() == AF_INET6) { in DoUpdateNetworks() 101 IPAddress prefix = TruncateIP(it->first.ipaddr(), prefix_length); in DoUpdateNetworks() 106 net->AddIP(it->first.ipaddr()); in DoUpdateNetworks()
|
D | virtualsocketserver.cc | 437 if (addr.ipaddr().family() == AF_INET) { in InitiateConnect() 439 } else if (addr.ipaddr().family() == AF_INET6) { in InitiateConnect() 475 local_addr_ = EmptySocketAddressWithFamily(addr.ipaddr().family()); in SendUdp() 630 ASSERT(!IPIsUnspec(addr.ipaddr())); in Bind() 634 SocketAddress normalized(addr.ipaddr().Normalized(), addr.port()); in Bind() 643 if (!IPIsUnspec(addr->ipaddr())) { in Bind() 644 addr->SetIP(addr->ipaddr().Normalized()); in Bind() 662 SocketAddress normalized(addr.ipaddr().Normalized(), in LookupBinding() 669 IPAddress default_ip = GetDefaultRoute(addr.ipaddr().family()); in LookupBinding() 670 if (!IPIsUnspec(default_ip) && addr.ipaddr() == default_ip) { in LookupBinding() [all …]
|
/external/syslinux/core/lwip/src/api/ |
D | netifapi.c | 48 msg->msg.add.ipaddr, in do_netifapi_netif_add() 68 msg->msg.add.ipaddr, in do_netifapi_netif_set_addr() 99 ip_addr_t *ipaddr, in netifapi_netif_add() argument 109 msg.msg.msg.add.ipaddr = ipaddr; in netifapi_netif_add() 127 ip_addr_t *ipaddr, in netifapi_netif_set_addr() argument 134 msg.msg.msg.add.ipaddr = ipaddr; in netifapi_netif_set_addr()
|
/external/iptables/extensions/ |
D | libarpt_mangle.c | 56 struct in_addr *ipaddr, mask; in arpmangle_parse() local 66 xtables_ipparse_any(optarg, &ipaddr, &mask, &nr); in arpmangle_parse() 67 mangle->u_s.src_ip.s_addr = ipaddr->s_addr; in arpmangle_parse() 68 free(ipaddr); in arpmangle_parse() 72 xtables_ipparse_any(optarg, &ipaddr, &mask, &nr); in arpmangle_parse() 73 mangle->u_t.tgt_ip.s_addr = ipaddr->s_addr; in arpmangle_parse() 74 free(ipaddr); in arpmangle_parse()
|
/external/syslinux/core/lwip/src/include/netif/ |
D | etharp.h | 183 s8_t etharp_find_addr(struct netif *netif, ip_addr_t *ipaddr, 185 err_t etharp_output(struct netif *netif, struct pbuf *q, ip_addr_t *ipaddr); 186 err_t etharp_query(struct netif *netif, ip_addr_t *ipaddr, struct pbuf *q); 187 err_t etharp_request(struct netif *netif, ip_addr_t *ipaddr); 195 err_t etharp_add_static_entry(ip_addr_t *ipaddr, struct eth_addr *ethaddr); 196 err_t etharp_remove_static_entry(ip_addr_t *ipaddr);
|
/external/syslinux/gpxe/src/arch/i386/interface/pcbios/ |
D | ibft.c | 120 static void ibft_set_ipaddr ( struct ibft_ipaddr *ipaddr, struct in_addr in ) { in ibft_set_ipaddr() argument 121 memset ( ipaddr, 0, sizeof ( ipaddr ) ); in ibft_set_ipaddr() 123 ipaddr->in = in; in ibft_set_ipaddr() 124 ipaddr->ones = 0xffff; in ibft_set_ipaddr() 135 static void ibft_set_ipaddr_option ( struct ibft_ipaddr *ipaddr, in ibft_set_ipaddr_option() argument 139 ibft_set_ipaddr ( ipaddr, in ); in ibft_set_ipaddr_option() 149 static const char * ibft_ipaddr ( struct ibft_ipaddr *ipaddr ) { in ibft_ipaddr() argument 150 return inet_ntoa ( ipaddr->in ); in ibft_ipaddr()
|
/external/ppp/pppd/plugins/radius/etc/ |
D | dictionary.compat | 4 ATTRIBUTE Client-Id 4 ipaddr 7 ATTRIBUTE Framed-Address 8 ipaddr 8 ATTRIBUTE Framed-Netmask 9 ipaddr 10 ATTRIBUTE Login-Host 14 ipaddr 28 ATTRIBUTE Login-Host 14 ipaddr
|
/external/ltp/testcases/network/tcp_cmds/sendfile/ |
D | sendfile01 | 60 local ipaddr=$(tst_ipaddr rhost) 64 tst_rhost_run -s -b -c "$SERVER $ipaddr $port" 73 "$CLIENT ip '$ipaddr' port '$port' file '$clnt_fname'" 75 $CLIENT $ipaddr $port $clnt_fname $serv_fname $size >\
|
/external/wpa_supplicant_8/src/ap/ |
D | dhcp_snoop.c | 106 if (sta->ipaddr == b->your_ip) in handle_dhcp() 109 if (sta->ipaddr != 0) { in handle_dhcp() 112 ipaddr_str(be_to_host32(sta->ipaddr))); in handle_dhcp() 114 (u8 *) &sta->ipaddr); in handle_dhcp() 125 sta->ipaddr = b->your_ip; in handle_dhcp()
|
/external/wpa_supplicant_8/wpa_supplicant/examples/ |
D | p2p-action.sh | 44 ipaddr=`echo "$*" | sed 's/.* ip_addr=\([^ ]*\).*/\1/'` 47 if echo "$ipaddr$ipmask$goipaddr" | grep -q ' '; then 48 ipaddr="" 52 if [ -n "$ipaddr" ]; then 53 sudo ifconfig $GIFNAME "$ipaddr" netmask "$ipmask"
|
/external/webrtc/webrtc/p2p/client/ |
D | portallocator_unittest.cc | 133 vss_->SetDefaultRoute(addr.ipaddr()); in AddInterfaceAsDefaultRoute() 222 c.protocol() == proto && c.address().ipaddr() == addr.ipaddr() && in CheckCandidate() 269 network_manager_.set_default_local_addresses(kPrivateAddr.ipaddr(), in CheckDisableAdapterEnumeration() 285 rtc::SocketAddress(kPrivateAddr.ipaddr(), 0)); in CheckDisableAdapterEnumeration() 298 candidates_[total_candidates].related_address().ipaddr()); in CheckDisableAdapterEnumeration() 306 candidates_[total_candidates].related_address().ipaddr()); in CheckDisableAdapterEnumeration() 314 candidates_[total_candidates].related_address().ipaddr()); in CheckDisableAdapterEnumeration() 359 rtc::SocketAddress(kNatUdpAddr.ipaddr(), 0))); in ResetWithStunServer() 681 CheckDisableAdapterEnumeration(5U, kPrivateAddr.ipaddr(), in TEST_F() 682 kNatUdpAddr.ipaddr(), kTurnUdpExtAddr.ipaddr(), in TEST_F() [all …]
|
/external/ltp/testcases/network/tcp_cmds/ping/ |
D | ping01 | 47 local ipaddr=$(tst_ipaddr rhost) 50 $PING_CMD -c $COUNT -s $packetsize $ipaddr > /dev/null 2>&1 52 tst_resm TFAIL "$PING_CMD -c $COUNT -s $packetsize $ipaddr"
|