/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...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/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.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]; \
|
/system/core/include/netutils/ |
dhcp.h | 27 char *ipaddr, 37 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
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
fakenetwork.h | 61 address.SetResolvedIP(iface.ipaddr()); 106 if (it->ipaddr().family() == AF_INET) { 108 } else if (it->ipaddr().family() == AF_INET6) { 111 IPAddress prefix = TruncateIP(it->ipaddr(), prefix_length); 116 net->AddIP(it->ipaddr());
|
socketaddress_unittest.cc | 55 EXPECT_EQ(IPAddress(), addr.ipaddr()); 63 EXPECT_EQ(IPAddress(0x01020304U), addr.ipaddr()); 72 EXPECT_EQ(IPAddress(0x01020304U), addr.ipaddr()); 83 EXPECT_EQ(tocheck, addr2.ipaddr()); 93 EXPECT_EQ(IPAddress(0xFFFFFFFFU), addr.ipaddr()); 102 EXPECT_EQ(IPAddress(), addr.ipaddr()); 112 EXPECT_EQ(IPAddress(0x01020304U), addr.ipaddr()); 123 EXPECT_EQ(IPAddress(0x01020304U), addr.ipaddr()); 134 EXPECT_EQ(IPAddress(0x01020304U), addr.ipaddr()); 145 EXPECT_EQ(IPAddress(0x01020304U), addr.ipaddr()); [all...] |
/external/chromium_org/third_party/webrtc/base/ |
fakenetwork.h | 44 address.SetResolvedIP(iface.ipaddr()); 89 if (it->ipaddr().family() == AF_INET) { 91 } else if (it->ipaddr().family() == AF_INET6) { 94 IPAddress prefix = TruncateIP(it->ipaddr(), prefix_length); 99 net->AddIP(it->ipaddr());
|
socketaddress_unittest.cc | 38 EXPECT_EQ(IPAddress(), addr.ipaddr()); 46 EXPECT_EQ(IPAddress(0x01020304U), addr.ipaddr()); 55 EXPECT_EQ(IPAddress(0x01020304U), addr.ipaddr()); 66 EXPECT_EQ(tocheck, addr2.ipaddr()); 76 EXPECT_EQ(IPAddress(0xFFFFFFFFU), addr.ipaddr()); 85 EXPECT_EQ(IPAddress(), addr.ipaddr()); 95 EXPECT_EQ(IPAddress(0x01020304U), addr.ipaddr()); 106 EXPECT_EQ(IPAddress(0x01020304U), addr.ipaddr()); 117 EXPECT_EQ(IPAddress(0x01020304U), addr.ipaddr()); 128 EXPECT_EQ(IPAddress(0x01020304U), addr.ipaddr()); [all...] |
/external/chromium_org/jingle/glue/ |
fake_network_manager.cc | 23 socket_address.ipaddr(), 32)); 24 network_->AddIP(socket_address.ipaddr());
|
/external/chromium_org/remoting/client/plugin/ |
pepper_util.cc | 21 switch (address.ipaddr().family()) { 23 in_addr ipv4_addr = address.ipaddr().ipv4_address(); 31 in6_addr ipv6_addr = address.ipaddr().ipv6_address(); 39 LOG(WARNING) << "Unknown address family: " << address.ipaddr().family();
|
pepper_network_manager.cc | 80 if (address.family() == AF_INET6 && IPIsSiteLocal(address.ipaddr())) { 88 list.GetName(i), list.GetDisplayName(i), address.ipaddr(), 0); 89 network->AddIP(address.ipaddr());
|
/hardware/libhardware_legacy/include/hardware_legacy/ |
wifi.h | 115 * @param ipaddr return the assigned IPV4 address 125 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) ALOGD("dns1: %s", ipaddr(info->dns1)) [all...] |
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/ |
stunserver_unittest.cc | 106 if (mapped_addr->ipaddr() != client_addr.ipaddr()) { 108 << mapped_addr->ipaddr() 109 << ") != local IP (" << client_addr.ipaddr()
|
/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"
|
/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 | 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-L/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]; \
|
/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...] |
/prebuilts/ndk/4/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]; \
|
/prebuilts/ndk/4/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]; \
|
/prebuilts/ndk/4/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]; \
|
/prebuilts/ndk/4/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]; \
|