/external/iproute2/ip/ |
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; f [all...] |
/external/ltp/testcases/network/multicast/mc_member/ |
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/ltp/testcases/network/tcp_cmds/ping/ |
ping01.sh | 47 local ipaddr=$(tst_ipaddr rhost) 49 EXPECT_PASS $PING_CMD -c $COUNT -s $packetsize $ipaddr \>/dev/null
|
ping02.sh | 39 local ipaddr=$(tst_ipaddr rhost) 41 EXPECT_PASS $PING -c $COUNT -f -s $psize $ipaddr -p "$pat" \>/dev/null
|
/external/openssh/ |
auth-rhosts.c | 57 const char *ipaddr, const char *client_user, 153 !innetgr(host + 1, ipaddr, NULL, NULL)) 156 strcmp(host, ipaddr) != 0) 191 const char *ipaddr) 198 debug2("auth_rhosts2: clientuser %s hostname %s ipaddr %s", 199 client_user, hostname, ipaddr); 238 if (check_rhosts_file(_PATH_RHOSTS_EQUIV, hostname, ipaddr, 241 "/etc/hosts.equiv.", hostname, ipaddr); 244 if (check_rhosts_file(_PATH_SSH_HOSTS_EQUIV, hostname, ipaddr, 247 "%.100s.", hostname, ipaddr, _PATH_SSH_HOSTS_EQUIV) [all...] |
match.c | 197 match_host_and_ip(const char *host, const char *ipaddr, 202 if ((mip = addr_match_list(ipaddr, patterns)) == -2) 203 return -1; /* error in ipaddr match */ 204 else if (host == NULL || ipaddr == NULL || mip == -1) 218 * If user, host and ipaddr are all NULL then validate pattern/ 222 match_user(const char *user, const char *host, const char *ipaddr, 229 if (user == NULL && host == NULL && ipaddr == NULL) { 244 ret = match_host_and_ip(host, ipaddr, p);
|
auth2-hostbased.c | 164 const char *resolvedname, *ipaddr, *lookup, *reason; local 173 ipaddr = ssh_remote_ipaddr(ssh); 175 debug2("%s: chost %s resolvedname %s ipaddr %s", __func__, 176 chost, resolvedname, ipaddr); 195 chost, ipaddr, resolvedname); 196 if (auth_rhosts2(pw, cuser, resolvedname, ipaddr) == 0) { 199 __func__, cuser, resolvedname, ipaddr);
|
/bionic/libc/include/netinet/ |
if_ether.h | 80 #define ETHER_MAP_IP_MULTICAST(ipaddr, enaddr) \ 81 /* struct in_addr *ipaddr; */ \ 87 (enaddr)[3] = ((u_int8_t *)ipaddr)[1] & 0x7f; \ 88 (enaddr)[4] = ((u_int8_t *)ipaddr)[2]; \ 89 (enaddr)[5] = ((u_int8_t *)ipaddr)[3]; \
|
/external/ltp/testcases/network/tcp_cmds/sendfile/ |
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/bcc/examples/networking/neighbor_sharing/ |
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,
|
/external/ppp/pppd/plugins/radius/etc/ |
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
|
dictionary.microsoft | 42 ATTRIBUTE MS-Primary-DNS-Server 28 ipaddr Microsoft 43 ATTRIBUTE MS-Secondary-DNS-Server 29 ipaddr Microsoft 44 ATTRIBUTE MS-Primary-NBNS-Server 30 ipaddr Microsoft 45 ATTRIBUTE MS-Secondary-NBNS-Server 31 ipaddr Microsoft
|
/external/webrtc/webrtc/base/ |
fakenetwork.h | 50 address.SetResolvedIP(iface.ipaddr()); 96 if (it->first.ipaddr().family() == AF_INET) { 98 } else if (it->first.ipaddr().family() == AF_INET6) { 101 IPAddress prefix = TruncateIP(it->first.ipaddr(), prefix_length); 106 net->AddIP(it->first.ipaddr());
|
socketaddress_unittest.cc | 39 EXPECT_EQ(IPAddress(), addr.ipaddr()); 47 EXPECT_EQ(IPAddress(0x01020304U), addr.ipaddr()); 56 EXPECT_EQ(IPAddress(0x01020304U), addr.ipaddr()); 67 EXPECT_EQ(tocheck, addr2.ipaddr()); 77 EXPECT_EQ(IPAddress(0xFFFFFFFFU), addr.ipaddr()); 86 EXPECT_EQ(IPAddress(), addr.ipaddr()); 96 EXPECT_EQ(IPAddress(0x01020304U), addr.ipaddr()); 107 EXPECT_EQ(IPAddress(0x01020304U), addr.ipaddr()); 118 EXPECT_EQ(IPAddress(0x01020304U), addr.ipaddr()); 129 EXPECT_EQ(IPAddress(0x01020304U), addr.ipaddr()); [all...] |
natserver.cc | 48 h ^= HashIP(a.ipaddr()); 56 if (use_ip && (a1.ipaddr() < a2.ipaddr())) 58 if (use_ip && (a2.ipaddr() < a1.ipaddr())) 130 : external_(external), external_ip_(external_ip.ipaddr(), 0) {
|
virtualsocketserver.cc | 437 if (addr.ipaddr().family() == AF_INET) { 439 } else if (addr.ipaddr().family() == AF_INET6) { 475 local_addr_ = EmptySocketAddressWithFamily(addr.ipaddr().family()); 630 ASSERT(!IPIsUnspec(addr.ipaddr())); 634 SocketAddress normalized(addr.ipaddr().Normalized(), addr.port()); 643 if (!IPIsUnspec(addr->ipaddr())) { 644 addr->SetIP(addr->ipaddr().Normalized()); 662 SocketAddress normalized(addr.ipaddr().Normalized(), 669 IPAddress default_ip = GetDefaultRoute(addr.ipaddr().family()); 670 if (!IPIsUnspec(default_ip) && addr.ipaddr() == default_ip) [all...] |
/external/wpa_supplicant_8/src/ap/ |
dhcp_snoop.c | 115 if (sta->ipaddr == b->your_ip) 118 if (sta->ipaddr != 0) { 121 ipaddr_str(be_to_host32(sta->ipaddr))); 123 (u8 *) &sta->ipaddr); 134 sta->ipaddr = b->your_ip;
|
/external/bcc/examples/networking/distributed_bridge/ |
main.py | 44 ipaddr = "172.16.1.%d/24" % (100 + i) 45 host_info.append(self._create_ns("host%d" % i, ipaddr=ipaddr, 64 host0_br_ips = [x[0] for x in interface.ipaddr
|
/external/webrtc/webrtc/p2p/base/ |
stunserver_unittest.cc | 93 if (mapped_addr->ipaddr() != client_addr.ipaddr()) { 95 << mapped_addr->ipaddr() 96 << ") != local IP (" << client_addr.ipaddr()
|
/external/bcc/examples/networking/ |
simulation.py | 24 out_ifc=None, ipaddr=None, macaddr=None, fn=None, cmd=None, 73 if ipaddr: v.add_ip("%s" % ipaddr) 90 def _create_ns(self, name, in_ifc=None, out_ifc=None, ipaddr=None, 93 ipaddr, macaddr, fn, cmd, action,
|
/external/wpa_supplicant_8/wpa_supplicant/examples/ |
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/iptables/extensions/ |
libarpt_mangle.c | 56 struct in_addr *ipaddr, mask; local 66 xtables_ipparse_any(optarg, &ipaddr, &mask, &nr); 67 mangle->u_s.src_ip.s_addr = ipaddr->s_addr; 68 free(ipaddr); 72 xtables_ipparse_any(optarg, &ipaddr, &mask, &nr); 73 mangle->u_t.tgt_ip.s_addr = ipaddr->s_addr; 74 free(ipaddr);
|
libxt_mangle.c | 183 struct in_addr *ipaddr; local 207 ipaddr = parse_hostnetwork(cb->arg, &nr); 209 mangle->u_s.src_ip.s_addr = ipaddr->s_addr; 210 free(ipaddr); 228 ipaddr = parse_hostnetwork(cb->arg, &nr); 230 mangle->u_t.tgt_ip.s_addr = ipaddr->s_addr; 231 free(ipaddr);
|
/external/python/httplib2/python2/httplib2/ |
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/python/httplib2/python3/httplib2/ |
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...] |