/external/syslinux/core/lwip/src/include/ipv4/lwip/ |
ip_addr.h | 139 #define IP4_ADDR(ipaddr, a,b,c,d) \ 140 (ipaddr)->addr = ((u32_t)((a) & 0xff) << 24) | \ 147 #define IP4_ADDR(ipaddr, a,b,c,d) \ 148 (ipaddr)->addr = ((u32_t)((d) & 0xff) << 24) | \ 168 #define ip_addr_set_zero(ipaddr) ((ipaddr)->addr = 0) 170 #define ip_addr_set_any(ipaddr) ((ipaddr)->addr = IPADDR_ANY) 172 #define ip_addr_set_loopback(ipaddr) ((ipaddr)->addr = PP_HTONL(IPADDR_LOOPBACK) [all...] |
/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 | 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...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/netinet/ |
if_ether.h | 90 #define ETHER_MAP_IP_MULTICAST(ipaddr, enaddr) \ 91 /* struct in_addr *ipaddr; */ \ 97 (enaddr)[3] = ((u_int8_t *)ipaddr)[1] & 0x7f; \ 98 (enaddr)[4] = ((u_int8_t *)ipaddr)[2]; \ 99 (enaddr)[5] = ((u_int8_t *)ipaddr)[3]; \
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/netinet/ |
if_ether.h | 90 #define ETHER_MAP_IP_MULTICAST(ipaddr, enaddr) \ 91 /* struct in_addr *ipaddr; */ \ 97 (enaddr)[3] = ((u_int8_t *)ipaddr)[1] & 0x7f; \ 98 (enaddr)[4] = ((u_int8_t *)ipaddr)[2]; \ 99 (enaddr)[5] = ((u_int8_t *)ipaddr)[3]; \
|
/external/ltp/testcases/network/tcp_cmds/ping/ |
ping01.sh | 46 local ipaddr=$(tst_ipaddr rhost) 48 EXPECT_PASS $PING_CMD -c $COUNT -s $packetsize $ipaddr \>/dev/null
|
ping02.sh | 38 local ipaddr=$(tst_ipaddr rhost) 40 EXPECT_PASS $PING -c $COUNT -f -s $psize $ipaddr -p "$pat" \>/dev/null
|
/external/syslinux/core/lwip/src/core/ |
raw.c | 130 * @param pcb RAW PCB to be bound with a local address ipaddr. 131 * @param ipaddr local IP address to bind with. Use IP_ADDR_ANY to 142 raw_bind(struct raw_pcb *pcb, ip_addr_t *ipaddr) 144 ip_addr_set(&pcb->local_ip, ipaddr); 154 * @param pcb RAW PCB to be connected with remote address ipaddr and port. 155 * @param ipaddr remote IP address to connect with. 162 raw_connect(struct raw_pcb *pcb, ip_addr_t *ipaddr) 164 ip_addr_set(&pcb->remote_ip, ipaddr); 199 * @param ipaddr the destination address of the IP packet 203 raw_sendto(struct raw_pcb *pcb, struct pbuf *p, ip_addr_t *ipaddr) [all...] |
/external/syslinux/core/lwip/src/include/lwip/ |
raw.h | 81 err_t raw_bind (struct raw_pcb *pcb, ip_addr_t *ipaddr); 82 err_t raw_connect (struct raw_pcb *pcb, ip_addr_t *ipaddr); 85 err_t raw_sendto (struct raw_pcb *pcb, struct pbuf *p, ip_addr_t *ipaddr);
|
netifapi.h | 55 ip_addr_t *ipaddr; member in struct:netifapi_msg_msg::__anon33724::__anon33725 77 ip_addr_t *ipaddr, 85 ip_addr_t *ipaddr,
|
api_msg.h | 78 ip_addr_t *ipaddr; member in struct:api_msg_msg::__anon33713::__anon33715 83 ip_addr_t *ipaddr; member in struct:api_msg_msg::__anon33713::__anon33716
|
/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);
|
/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/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
|
/external/syslinux/core/lwip/src/netif/ |
etharp.c | 100 ip_addr_t ipaddr; member in struct:etharp_entry 131 static err_t update_arp_entry(struct netif *netif, ip_addr_t *ipaddr, struct eth_addr *ethaddr, u8_t flags); 172 snmp_delete_arpidx_tree(arp_table[i].netif, &arp_table[i].ipaddr); 191 ip_addr_set_zero(&arp_table[i].ipaddr); 244 * If ipaddr is NULL, return a initialized new entry in state ETHARP_EMPTY. 250 * @param ipaddr IP address to find in ARP cache, or to add if not found. 258 find_entry(ip_addr_t *ipaddr, u8_t flags) 294 if (ipaddr && ip_addr_cmp(ipaddr, &arp_table[i].ipaddr)) { [all...] |
undiif.c | 152 struct ip_addr ipaddr; member in struct:undiarp_entry 559 * Send an ARP request packet asking for ipaddr. 562 * @param ipaddr the IP address for which to ask 568 undiarp_request(struct netif *netif, struct ip_addr *ipaddr) 604 memcpy(hdr_ptr, ipaddr, 4); 663 snmp_delete_arpidx_tree(arp_table[i].netif, &arp_table[i].ipaddr); 693 * If ipaddr is NULL, return a initialized new entry in state ETHARP_EMPTY. 699 * @param ipaddr IP address to find in ARP cache, or to add if not found. 709 find_entry(struct ip_addr *ipaddr, u8_t flags, struct netif *netif) 711 find_entry(struct ip_addr *ipaddr, u8_t flags [all...] |
/external/syslinux/core/lwip/src/include/netif/ |
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/core/lwip/src/api/ |
netifapi.c | 48 msg->msg.add.ipaddr, 68 msg->msg.add.ipaddr, 99 ip_addr_t *ipaddr, 109 msg.msg.msg.add.ipaddr = ipaddr; 127 ip_addr_t *ipaddr, 134 msg.msg.msg.add.ipaddr = ipaddr;
|
/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...] |
/external/wpa_supplicant_8/src/ap/ |
dhcp_snoop.c | 106 if (sta->ipaddr == b->your_ip) 109 if (sta->ipaddr != 0) { 112 ipaddr_str(be_to_host32(sta->ipaddr))); 114 (u8 *) &sta->ipaddr); 125 sta->ipaddr = b->your_ip;
|
/system/core/libnetutils/ |
dhcpclient.c | 86 const char *ipaddr(in_addr_t addr) function 101 uint32_t ipaddr; member in struct:dhcp_info 114 void get_dhcp_info(uint32_t *ipaddr, uint32_t *gateway, uint32_t *prefixLength, 118 *ipaddr = last_good_info.ipaddr; 130 return ifc_configure(ifname, info->ipaddr, info->prefixLength, info->gateway, 154 strcpy(addr, ipaddr(info->ipaddr)); 155 strcpy(gway, ipaddr(info->gateway)); 157 if (info->dns1) ALOGD("dns1: %s", ipaddr(info->dns1)) [all...] |
/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()
|