/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/openssh/ |
auth-rhosts.c | 56 const char *ipaddr, const char *client_user, 150 !innetgr(host + 1, ipaddr, NULL, NULL)) 152 } else if (strcasecmp(host, hostname) && strcmp(host, ipaddr) != 0) 189 const char *hostname, *ipaddr; local 192 ipaddr = get_remote_ipaddr(); 193 return auth_rhosts2(pw, client_user, hostname, ipaddr); 198 const char *ipaddr) 205 debug2("auth_rhosts2: clientuser %s hostname %s ipaddr %s", 206 client_user, hostname, ipaddr); 234 if (check_rhosts_file(_PATH_RHOSTS_EQUIV, hostname, ipaddr, [all...] |
auth2-hostbased.c | 144 const char *resolvedname, *ipaddr, *lookup, *reason; local 153 ipaddr = get_remote_ipaddr(); 155 debug2("userauth_hostbased: chost %s resolvedname %s ipaddr %s", 156 chost, resolvedname, ipaddr); 171 chost, ipaddr, resolvedname); 172 if (auth_rhosts2(pw, cuser, resolvedname, ipaddr) == 0)
|
match.c | 190 match_host_and_ip(const char *host, const char *ipaddr, 195 /* error in ipaddr match */ 196 if ((mip = addr_match_list(ipaddr, patterns)) == -2) 214 match_user(const char *user, const char *host, const char *ipaddr, 228 ret = match_host_and_ip(host, ipaddr, p);
|
/prebuilts/gcc/linux-x86/host/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]; \
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-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.7-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]; \
|
/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/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 | 32 switch (address.ipaddr().family()) { 34 in_addr addr = address.ipaddr().ipv4_address(); 40 in6_addr addr = address.ipaddr().ipv6_address(); 46 LOG(WARNING) << "Unknown address family: " << address.ipaddr().family();
|
/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 | 102 if (mapped_addr->ipaddr() != client_addr.ipaddr()) { 104 << mapped_addr->ipaddr() 105 << ") != local IP (" << client_addr.ipaddr()
|
/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...] |
/external/libppp/src/ |
defs.c | 143 struct in_addr ipaddr; local 146 ipaddr.s_addr = INADDR_ANY; 147 else if (inet_aton(cp, &ipaddr) == 0) { 160 memcpy(&ipaddr, hp->h_addr, hp->h_length); 162 ipaddr.s_addr = INADDR_NONE; 164 ipaddr.s_addr = INADDR_NONE; 167 return ipaddr;
|
/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]; \
|
/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]; \
|