/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 | 54 local ipaddr=$(tst_ipaddr) 64 mc_member_test -g $GLIST -s 80 -i $ipaddr > $ERRFILE 2>&1 & 70 tst_resm TINFO "Running (1st) member on $ipaddr" 71 mc_member_test -j -g $GLIST -s 30 -i $ipaddr \ 77 "$ipaddr" 80 tst_resm TINFO "Running (2nd) member on $ipaddr" 81 mc_member_test -g $GLIST -s 60 -i $ipaddr \ 87 "$ipaddr" 96 tst_brkm TFAIL "$agroup NOT joined to $ipaddr" 108 "$ipaddr" [all …]
|
/external/openssh/ |
D | auth-rhosts.c | 57 const char *ipaddr, const char *client_user, in check_rhosts_file() argument 153 !innetgr(host + 1, ipaddr, NULL, NULL)) in check_rhosts_file() 156 strcmp(host, ipaddr) != 0) in check_rhosts_file() 191 const char *ipaddr) in auth_rhosts2() argument 199 client_user, hostname, ipaddr); in auth_rhosts2() 238 if (check_rhosts_file(_PATH_RHOSTS_EQUIV, hostname, ipaddr, in auth_rhosts2() 241 "/etc/hosts.equiv.", hostname, ipaddr); in auth_rhosts2() 244 if (check_rhosts_file(_PATH_SSH_HOSTS_EQUIV, hostname, ipaddr, in auth_rhosts2() 247 "%.100s.", hostname, ipaddr, _PATH_SSH_HOSTS_EQUIV); in auth_rhosts2() 308 if (check_rhosts_file(buf, hostname, ipaddr, in auth_rhosts2() [all …]
|
D | match.c | 197 match_host_and_ip(const char *host, const char *ipaddr, in match_host_and_ip() argument 202 if ((mip = addr_match_list(ipaddr, patterns)) == -2) in match_host_and_ip() 204 else if (host == NULL || ipaddr == NULL || mip == -1) in match_host_and_ip() 222 match_user(const char *user, const char *host, const char *ipaddr, in match_user() argument 229 if (user == NULL && host == NULL && ipaddr == NULL) { in match_user() 244 ret = match_host_and_ip(host, ipaddr, p); in match_user()
|
D | auth2-hostbased.c | 164 const char *resolvedname, *ipaddr, *lookup, *reason; in hostbased_key_allowed() local 173 ipaddr = ssh_remote_ipaddr(ssh); in hostbased_key_allowed() 176 chost, resolvedname, ipaddr); in hostbased_key_allowed() 195 chost, ipaddr, resolvedname); in hostbased_key_allowed() 196 if (auth_rhosts2(pw, cuser, resolvedname, ipaddr) == 0) { in hostbased_key_allowed() 199 __func__, cuser, resolvedname, ipaddr); in hostbased_key_allowed()
|
/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/bcc/examples/networking/neighbor_sharing/ |
D | tc_neighbor_sharing.py | 31 wan_if = self._create_ns("wan0", ipaddr="172.16.1.5/24")[1] 48 ipaddr = "172.16.1.%d/24" % (i + 100) 49 ret = self._create_ns("neighbor%d" % i, ipaddr=ipaddr, 53 ipaddr = "172.16.1.%d/24" % (i + 150) 54 ret = self._create_ns("local%d" % i, ipaddr=ipaddr,
|
D | simulation.py | 24 out_ifc=None, ipaddr=None, macaddr=None, fn=None, cmd=None, argument 73 if ipaddr: v.add_ip("%s" % ipaddr) 90 def _create_ns(self, name, in_ifc=None, out_ifc=None, ipaddr=None, argument 93 ipaddr, macaddr, fn, cmd, action,
|
/external/python/httplib2/python3/httplib2/ |
D | socks.py | 305 ipaddr = socket.inet_aton(destaddr) 306 req = req + chr(0x01).encode() + ipaddr 311 ipaddr = None 320 ipaddr = socket.inet_aton(socket.gethostbyname(destaddr)) 321 req = req + chr(0x01).encode() + ipaddr 347 if ipaddr != None: 348 self.__proxypeername = (socket.inet_ntoa(ipaddr), destport) 378 ipaddr = socket.inet_aton(destaddr) 382 ipaddr = struct.pack("BBBB", 0x00, 0x00, 0x00, 0x01) 385 ipaddr = socket.inet_aton(socket.gethostbyname(destaddr)) [all …]
|
/external/python/httplib2/python2/httplib2/ |
D | socks.py | 299 ipaddr = socket.inet_aton(destaddr) 300 req = req + chr(0x01).encode() + ipaddr 305 ipaddr = None 314 ipaddr = socket.inet_aton(socket.gethostbyname(destaddr)) 315 req = req + chr(0x01).encode() + ipaddr 341 if ipaddr != None: 342 self.__proxypeername = (socket.inet_ntoa(ipaddr), destport) 372 ipaddr = socket.inet_aton(destaddr) 376 ipaddr = struct.pack("BBBB", 0x00, 0x00, 0x00, 0x01) 379 ipaddr = socket.inet_aton(socket.gethostbyname(destaddr)) [all …]
|
/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/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/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/wpa_supplicant_8/src/ap/ |
D | dhcp_snoop.c | 115 if (sta->ipaddr == b->your_ip) in handle_dhcp() 118 if (sta->ipaddr != 0) { in handle_dhcp() 121 ipaddr_str(be_to_host32(sta->ipaddr))); in handle_dhcp() 123 (u8 *) &sta->ipaddr); in handle_dhcp() 134 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/base/ |
D | stun_unittest.cc | 49 in_addr stun_address = addr->ipaddr().ipv4_address(); in CheckStunAddressAttribute() 53 in6_addr stun_address = addr->ipaddr().ipv6_address(); in CheckStunAddressAttribute() 736 addr2.SetIP(addr->ipaddr()); in TEST_F() 740 ASSERT_EQ(addr2.ipaddr(), addr->ipaddr()); in TEST_F() 751 ASSERT_NE(addr->ipaddr(), addr2.ipaddr()); in TEST_F() 752 addr2.SetIP(addr->ipaddr()); in TEST_F() 756 ASSERT_EQ(addr2.ipaddr(), addr->ipaddr()); in TEST_F() 783 addr2.SetIP(addr->ipaddr()); in TEST_F() 787 ASSERT_EQ(addr2.ipaddr(), addr->ipaddr()); in TEST_F() 799 ASSERT_EQ(addr->ipaddr(), addr2.ipaddr()); in TEST_F() [all …]
|
/external/selinux/secilc/docs/ |
D | cil_network_labeling_statements.md | 4 ipaddr section in Network Labeling Statements 17 (ipaddr ipaddr_id ip_address) 28 <td align="left"><p><code>ipaddr</code></p></td> 29 <td align="left"><p>The <code>ipaddr</code> keyword.</p></td> 46 (ipaddr netmask_1 255.255.255.0) 51 (macro build_nodecon ((ipaddr ARG1) (ipaddr ARG2)) 128 <td align="left"><p>A previously declared <code>ipaddr</code> identifier, or an anonymous IPv4 or I… 132 <td align="left"><p>A previously declared <code>ipaddr</code> identifier, or an anonymous IPv4 or I… 148 (ipaddr netmask_1 255.255.255.0) 149 (ipaddr ipv4_1 192.168.1.64)
|
/external/bcc/examples/networking/distributed_bridge/ |
D | simulation.py | 24 out_ifc=None, ipaddr=None, macaddr=None, fn=None, cmd=None, argument 73 if ipaddr: v.add_ip("%s" % ipaddr) 90 def _create_ns(self, name, in_ifc=None, out_ifc=None, ipaddr=None, argument 93 ipaddr, macaddr, fn, cmd, action,
|
/external/bcc/examples/networking/tunnel_monitor/ |
D | simulation.py | 24 out_ifc=None, ipaddr=None, macaddr=None, fn=None, cmd=None, argument 73 if ipaddr: v.add_ip("%s" % ipaddr) 90 def _create_ns(self, name, in_ifc=None, out_ifc=None, ipaddr=None, argument 93 ipaddr, macaddr, fn, cmd, action,
|
/external/bcc/examples/networking/vlan_learning/ |
D | simulation.py | 24 out_ifc=None, ipaddr=None, macaddr=None, fn=None, cmd=None, argument 73 if ipaddr: v.add_ip("%s" % ipaddr) 90 def _create_ns(self, name, in_ifc=None, out_ifc=None, ipaddr=None, argument 93 ipaddr, macaddr, fn, cmd, action,
|
/external/bcc/examples/networking/ |
D | simulation.py | 24 out_ifc=None, ipaddr=None, macaddr=None, fn=None, cmd=None, argument 73 if ipaddr: v.add_ip("%s" % ipaddr) 90 def _create_ns(self, name, in_ifc=None, out_ifc=None, ipaddr=None, argument 93 ipaddr, macaddr, fn, cmd, action,
|
/external/bcc/tests/python/ |
D | simulation.py | 24 out_ifc=None, ipaddr=None, macaddr=None, fn=None, cmd=None, argument 73 if ipaddr: v.add_ip("%s" % ipaddr) 90 def _create_ns(self, name, in_ifc=None, out_ifc=None, ipaddr=None, argument 93 ipaddr, macaddr, fn, cmd, action,
|