/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...] |
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/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]; \
|
/system/core/include/netutils/ |
dhcp.h | 27 char *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
|
/hardware/libhardware_legacy/include/hardware_legacy/ |
wifi.h | 164 * @param ipaddr return the assigned IPV4 address 174 int do_dhcp_request(int *ipaddr, int *gateway, int *mask,
|
/system/core/libnetutils/ |
dhcpclient.c | 88 const char *ipaddr(in_addr_t addr) function 103 uint32_t ipaddr; member in struct:dhcp_info 116 void get_dhcp_info(uint32_t *ipaddr, uint32_t *gateway, uint32_t *prefixLength, 120 *ipaddr = last_good_info.ipaddr; 132 return ifc_configure(ifname, info->ipaddr, info->prefixLength, info->gateway, 156 strcpy(addr, ipaddr(info->ipaddr)); 157 strcpy(gway, ipaddr(info->gateway)); 159 if (info->dns1) LOGD("dns1: %s", ipaddr(info->dns1)) [all...] |
dhcpmsg.c | 74 uint32_t ipaddr, uint32_t serveraddr) 89 memcpy(x, &ipaddr, 4);
|
dhcp_utils.c | 67 char *ipaddr, 79 property_get(prop_name, ipaddr, NULL); 150 char *ipaddr, 205 if (fill_ip_info(interface, ipaddr, gateway, prefixLength, dns1, dns2, server, lease) 294 in_addr_t *ipaddr, 336 fill_ip_info(interface, ipaddr, gateway, mask, dns1, dns2, server, lease);
|
/system/core/nexus/ |
DhcpListener.cpp | 65 struct in_addr ipaddr, netmask, gateway, broadcast, dns1, dns2; local 67 if (!inet_aton(strsep(&next, ":"), &ipaddr)) { 85 mHandlers->onDhcpLeaseUpdated(mController, &ipaddr, &netmask,
|
/external/grub/netboot/ |
main.c | 122 etherboot_printf ("Address: %@\n", arptable[ARP_CLIENT].ipaddr.s_addr); 124 etherboot_printf ("Server: %@\n", arptable[ARP_SERVER].ipaddr.s_addr); 125 etherboot_printf ("Gateway: %@\n", arptable[ARP_GATEWAY].ipaddr.s_addr); 136 int net = ntohl (arptable[ARP_CLIENT].ipaddr.s_addr) >> 24; 161 if (! inet_aton (ip, &arptable[ARP_CLIENT].ipaddr)) 168 if (gw && ! inet_aton (gw, &arptable[ARP_GATEWAY].ipaddr)) 174 if (svr && ! inet_aton (svr, &arptable[ARP_SERVER].ipaddr)) 182 if (IP_BROADCAST == (netmask | arptable[ARP_CLIENT].ipaddr.s_addr) 183 || netmask == (netmask | arptable[ARP_CLIENT].ipaddr.s_addr) 217 ip->src.s_addr = arptable[ARP_CLIENT].ipaddr.s_addr [all...] |
/bionic/libc/include/net/ |
if_ether.h | 116 #define ETHER_MAP_IP_MULTICAST(ipaddr, enaddr) \ 117 /* struct in_addr *ipaddr; */ \ 123 (enaddr)[3] = ((u_int8_t *)ipaddr)[1] & 0x7f; \ 124 (enaddr)[4] = ((u_int8_t *)ipaddr)[2]; \ 125 (enaddr)[5] = ((u_int8_t *)ipaddr)[3]; \
|
/development/ndk/platforms/android-3/include/net/ |
if_ether.h | 114 #define ETHER_MAP_IP_MULTICAST(ipaddr, enaddr) \ 115 /* struct in_addr *ipaddr; */ \ 121 (enaddr)[3] = ((u_int8_t *)ipaddr)[1] & 0x7f; \ 122 (enaddr)[4] = ((u_int8_t *)ipaddr)[2]; \ 123 (enaddr)[5] = ((u_int8_t *)ipaddr)[3]; \
|
/external/qemu/slirp/ |
ip_input.c | 549 ipaddr.sin_addr = ip->ip_dst; 551 ifa_ifwithaddr((struct sockaddr *)&ipaddr); 575 bcopy((caddr_t)(cp + off), (caddr_t)&ipaddr.sin_addr, 576 sizeof(ipaddr.sin_addr)); 580 if ((ia = (INA)ifa_ifwithdstaddr((SA)&ipaddr)) == 0) 581 ia = (INA)ifa_ifwithnet((SA)&ipaddr); 583 ia = ip_rtaddr(ipaddr.sin_addr); 589 ip->ip_dst = ipaddr.sin_addr; 610 bcopy((caddr_t)(&ip->ip_dst), (caddr_t)&ipaddr.sin_addr, 611 sizeof(ipaddr.sin_addr)) [all...] |
/external/qemu/slirp-android/ |
ip_input.c | 549 ipaddr.sin_addr = ip->ip_dst; 551 ifa_ifwithaddr((struct sockaddr *)&ipaddr); 575 bcopy((caddr_t)(cp + off), (caddr_t)&ipaddr.sin_addr, 576 sizeof(ipaddr.sin_addr)); 580 if ((ia = (INA)ifa_ifwithdstaddr((SA)&ipaddr)) == 0) 581 ia = (INA)ifa_ifwithnet((SA)&ipaddr); 583 ia = ip_rtaddr(ipaddr.sin_addr); 589 ip->ip_dst = ipaddr.sin_addr; 610 bcopy((caddr_t)(&ip->ip_dst), (caddr_t)&ipaddr.sin_addr, 611 sizeof(ipaddr.sin_addr)) [all...] |
/prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/net/ |
if_ether.h | 114 #define ETHER_MAP_IP_MULTICAST(ipaddr, enaddr) \ 115 /* struct in_addr *ipaddr; */ \ 121 (enaddr)[3] = ((u_int8_t *)ipaddr)[1] & 0x7f; \ 122 (enaddr)[4] = ((u_int8_t *)ipaddr)[2]; \ 123 (enaddr)[5] = ((u_int8_t *)ipaddr)[3]; \
|
/prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/net/ |
if_ether.h | 114 #define ETHER_MAP_IP_MULTICAST(ipaddr, enaddr) \ 115 /* struct in_addr *ipaddr; */ \ 121 (enaddr)[3] = ((u_int8_t *)ipaddr)[1] & 0x7f; \ 122 (enaddr)[4] = ((u_int8_t *)ipaddr)[2]; \ 123 (enaddr)[5] = ((u_int8_t *)ipaddr)[3]; \
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/net/ |
if_ether.h | 114 #define ETHER_MAP_IP_MULTICAST(ipaddr, enaddr) \ 115 /* struct in_addr *ipaddr; */ \ 121 (enaddr)[3] = ((u_int8_t *)ipaddr)[1] & 0x7f; \ 122 (enaddr)[4] = ((u_int8_t *)ipaddr)[2]; \ 123 (enaddr)[5] = ((u_int8_t *)ipaddr)[3]; \
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/net/ |
if_ether.h | 114 #define ETHER_MAP_IP_MULTICAST(ipaddr, enaddr) \ 115 /* struct in_addr *ipaddr; */ \ 121 (enaddr)[3] = ((u_int8_t *)ipaddr)[1] & 0x7f; \ 122 (enaddr)[4] = ((u_int8_t *)ipaddr)[2]; \ 123 (enaddr)[5] = ((u_int8_t *)ipaddr)[3]; \
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/net/ |
if_ether.h | 114 #define ETHER_MAP_IP_MULTICAST(ipaddr, enaddr) \ 115 /* struct in_addr *ipaddr; */ \ 121 (enaddr)[3] = ((u_int8_t *)ipaddr)[1] & 0x7f; \ 122 (enaddr)[4] = ((u_int8_t *)ipaddr)[2]; \ 123 (enaddr)[5] = ((u_int8_t *)ipaddr)[3]; \
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/net/ |
if_ether.h | 114 #define ETHER_MAP_IP_MULTICAST(ipaddr, enaddr) \ 115 /* struct in_addr *ipaddr; */ \ 121 (enaddr)[3] = ((u_int8_t *)ipaddr)[1] & 0x7f; \ 122 (enaddr)[4] = ((u_int8_t *)ipaddr)[2]; \ 123 (enaddr)[5] = ((u_int8_t *)ipaddr)[3]; \
|
/prebuilt/ndk/android-ndk-r5/platforms/android-3/arch-arm/usr/include/net/ |
if_ether.h | 114 #define ETHER_MAP_IP_MULTICAST(ipaddr, enaddr) \ 115 /* struct in_addr *ipaddr; */ \ 121 (enaddr)[3] = ((u_int8_t *)ipaddr)[1] & 0x7f; \ 122 (enaddr)[4] = ((u_int8_t *)ipaddr)[2]; \ 123 (enaddr)[5] = ((u_int8_t *)ipaddr)[3]; \
|
/prebuilt/ndk/android-ndk-r6/platforms/android-3/arch-arm/usr/include/net/ |
if_ether.h | 114 #define ETHER_MAP_IP_MULTICAST(ipaddr, enaddr) \ 115 /* struct in_addr *ipaddr; */ \ 121 (enaddr)[3] = ((u_int8_t *)ipaddr)[1] & 0x7f; \ 122 (enaddr)[4] = ((u_int8_t *)ipaddr)[2]; \ 123 (enaddr)[5] = ((u_int8_t *)ipaddr)[3]; \
|
/prebuilt/ndk/android-ndk-r6/platforms/android-3/arch-x86/usr/include/net/ |
if_ether.h | 114 #define ETHER_MAP_IP_MULTICAST(ipaddr, enaddr) \ 115 /* struct in_addr *ipaddr; */ \ 121 (enaddr)[3] = ((u_int8_t *)ipaddr)[1] & 0x7f; \ 122 (enaddr)[4] = ((u_int8_t *)ipaddr)[2]; \ 123 (enaddr)[5] = ((u_int8_t *)ipaddr)[3]; \
|
/frameworks/base/core/jni/ |
android_net_NetUtils.cpp | 32 const char *ipaddr, 41 const char *ipaddr, 112 char ipaddr[PROPERTY_VALUE_MAX]; local 124 result = ::dhcp_do_request_renew(nameStr, ipaddr, gateway, &prefixLength, 127 result = ::dhcp_do_request(nameStr, ipaddr, gateway, &prefixLength, 133 env->SetObjectField(info, dhcpInfoInternalFieldIds.ipaddress, env->NewStringUTF(ipaddr));
|