/external/autotest/client/cros/netprotos/ |
fake_host.py | 12 def __init__(self, ip_addr): 13 self.ip_addr = ip_addr 45 def listen(self, ip_addr, port, recv_callback): 46 """Bind and listen on the ip_addr:port. 51 @param ip_addr: Local destination ip_addr. 58 self._bind_ip_addr = ip_addr
|
interface_host.py | 18 def ip_addr(self): member in class:InterfaceHost 49 self._socket = InterfaceDatagramSocket(self.ip_addr) 102 def listen(self, ip_addr, port, recv_callback): 103 """Bind and listen on the ip_addr:port. 105 @param ip_addr: Multicast group IP (e.g. '224.0.0.251') 116 ip_addr_prefix = ord(socket.inet_aton(ip_addr)[0]) 125 socket.inet_aton(ip_addr) + 128 self._recv_sock.bind((ip_addr, port)) 154 def send(self, data, ip_addr, port): 158 @param ip_addr: string like '239.192.1.100' [all...] |
/external/autotest/client/deps/lansim/src/py/ |
host.py | 29 def __init__(self, sim, hw_addr, ip_addr): 34 @param ip_addr: The IPv4 address. For example: "10.0.0.1". 38 self._ip_addr = ip_addr 40 self._bin_ip_addr = socket.inet_aton(ip_addr) 61 def ip_addr(self): member in class:SimpleHost 78 self.add_arp(hw_addr=pkt.arp.sha, ip_addr=pkt.arp.spa) 95 def add_arp(self, hw_addr, ip_addr): 96 """Maps the ip_addr to a given hw_addr. 102 @param ip_addr: The network encoded IPv4 address. 104 self._arp_cache[ip_addr] = hw_add [all...] |
/external/syslinux/com32/hdt/ |
hdt-cli-pxe.c | 77 more_printf(" Addresses : %d.%d.%d.%d @ %s\n", p->ip_addr[0], 78 p->ip_addr[1], p->ip_addr[2], p->ip_addr[3], p->mac_addr);
|
hdt-menu-pxe.c | 110 p->ip_addr[0], p->ip_addr[1], p->ip_addr[2], p->ip_addr[3]); 112 p->ip_addr[0], p->ip_addr[1], p->ip_addr[2], p->ip_addr[3]);
|
hdt-menu-summary.c | 149 p->ip_addr[0], p->ip_addr[1], p->ip_addr[2], p->ip_addr[3]); 151 "PXE IP Address: %d.%d.%d.%d", p->ip_addr[0], 152 p->ip_addr[1], p->ip_addr[2], p->ip_addr[3]);
|
hdt-dump-pxe.c | 74 memcpy(&in, hardware->pxe.ip_addr, sizeof in);
|
/external/ltp/testcases/network/dhcp/ |
dhcp_lib.sh | 64 tst_resm TINFO "add $ip_addr to $iface0" 65 ip addr add $ip_addr dev $iface0 || \ 125 ip_addr="fd00:1:1:2::12/64" 128 ip_addr="10.1.1.12/24"
|
/external/wpa_supplicant_8/src/wps/ |
wps_upnp_i.h | 130 unsigned ip_addr; /* IP address of network i.f. we use (host order) */ member in struct:upnp_wps_device_sm 160 int get_netif_info(const char *net_if, unsigned *ip_addr, char **ip_addr_text, 172 int ssdp_open_multicast_sock(u32 ip_addr, const char *forced_ifname);
|
wps_er.h | 82 unsigned ip_addr; /* IP address of network i.f. we use (host order) */ member in struct:wps_er
|
/external/wpa_supplicant_8/src/utils/ |
Makefile | 21 ip_addr.o \
|
/external/ppp/pppd/plugins/radius/ |
config.c | 404 * Purpose: see if ip_addr is one of the ip addresses of hostname 410 static int find_match (UINT4 *ip_addr, char *hostname) 418 if (*ip_addr == ntohl(inet_addr (hostname))) 432 if (ntohl(addr) == *ip_addr) 450 int rc_find_server (char *server_name, UINT4 *ip_addr, char *secret) 463 if ((*ip_addr = rc_get_ipaddr (server_name)) == (UINT4) 0) 506 if (find_match (ip_addr, hostnm) == 0) 518 if (find_match (ip_addr, host2) == 0) 526 if (find_match (ip_addr, hostnm) == 0)
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/rpcsvc/ |
bootparam_prot.x | 68 ip_addr_t ip_addr;
|
bootparam_prot.h | 42 ip_addr_t ip_addr; member in union:bp_address::__anon47809
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/rpcsvc/ |
bootparam_prot.x | 68 ip_addr_t ip_addr;
|
bootparam_prot.h | 42 ip_addr_t ip_addr; member in union:bp_address::__anon49799
|
/external/ltp/testcases/lib/ |
test_net.sh | 262 local ip_addr="$1" 274 echo "$ip_addr" | grep ":" > /dev/null 276 tst_resm TINFO "run ping${ipv6} test with rhost '$ip_addr'..." 278 res=$(ping${ipv6} -f -c $client_requests $ip_addr -w 600 2>&1) 287 tst_resm TINFO "run tcp_fastopen with '$ip_addr', port '$port'" 303 tcp_fastopen -a $clients_num -r $client_requests -l -H $ip_addr\
|
/external/syslinux/core/lwip/src/core/ |
netif.c | 42 #include "lwip/ip_addr.h" 145 ip_addr_set_zero(&netif->ip_addr); 328 if ((ip_addr_cmp(ipaddr, &(netif->ip_addr))) == 0) { 334 if (ip_addr_cmp(&(pcb->local_ip), &(netif->ip_addr)) 352 (ip_addr_cmp(&(lpcb->local_ip), &(netif->ip_addr)))) { 363 ip_addr_set(&(netif->ip_addr), ipaddr); 369 ip4_addr1_16(&netif->ip_addr), 370 ip4_addr2_16(&netif->ip_addr), 371 ip4_addr3_16(&netif->ip_addr), 372 ip4_addr4_16(&netif->ip_addr))); [all...] |
/external/autotest/client/cros/cellular/ |
prologix_scpi_driver_test_noautorun.py | 170 ip_addr = instr['ip'] 173 log.debug("trying %s at %s" % (name_part, ip_addr)) 175 hostname=ip_addr,
|
/external/syslinux/core/lwip/src/netif/ |
undiif.c | 152 struct ip_addr ipaddr; 264 struct ip_addr *sip, *dip; 269 sip = (struct ip_addr *) &(arphdr->sipaddr); 270 dip = (struct ip_addr *) &(arphdr->dipaddr); 568 undiarp_request(struct netif *netif, struct ip_addr *ipaddr) 595 hdr->protolen = sizeof(struct ip_addr); 600 memcpy(hdr_ptr, &netif->ip_addr, 4); 709 find_entry(struct ip_addr *ipaddr, u8_t flags, struct netif *netif) 711 find_entry(struct ip_addr *ipaddr, u8_t flags) 933 undiarp_query(struct netif *netif, struct ip_addr *ipaddr, struct pbuf *q [all...] |
/external/syslinux/core/fs/pxe/ |
core.c | 70 struct ip_addr addr; 179 struct ip_addr addr; 233 dns_setserver(i, (struct ip_addr *)&dns_server[i]); 259 struct ip_addr addr;
|
dnsresolv.c | 94 struct ip_addr ip;
|
/system/core/adb/ |
transport_mdns.cpp | 121 char ip_addr[INET6_ADDRSTRLEN]; local 140 ip_addr, INET6_ADDRSTRLEN)) { 146 connect_device(android::base::StringPrintf(addr_format, ip_addr, port_), 148 D("Connect to %s (%s:%hu) : %s", name_.c_str(), ip_addr, port_,
|
/external/ltp/testcases/network/stress/ns-tools/ |
ns-icmp_redirector.c | 70 unsigned char ip_addr[4]; member in struct:ip4_gateway_info 76 struct in6_addr ip_addr; member in struct:ip6_gateway_info 309 memcpy(gateway_p->ip_addr, rcvarp_p->ar_tip, 4); /* IP address */ 312 memcpy(new_nexthop, gateway_p->ip_addr, 4); 337 memcpy(sndarp_p->ar_sip, gateway_p->ip_addr, 4); 414 memcpy((unsigned char *)&sndip_p->hdr.saddr, gw_p->ip_addr, 4); 499 gateway_p->ip_addr = rcvns_p->defs.nd_ns_target; /* IP address */ 532 sndip6_p->hdr.ip6_src = gateway_p->ip_addr; 539 sndna_p->defs.nd_na_target = gateway_p->ip_addr; 634 sndip6_p->hdr.ip6_src = gw_p->ip_addr; [all...] |
/external/syslinux/core/lwip/src/core/ipv4/ |
ip_addr.c | 40 #include "lwip/ip_addr.h" 43 /* used by IP_ADDR_ANY and IP_ADDR_BROADCAST in ip_addr.h */ 70 } else if (addr == ip4_addr_get_u32(&netif->ip_addr)) { 73 } else if (ip_addr_netcmp(&ipaddr, &(netif->ip_addr), &(netif->netmask))
|