/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/third_party/ipaddr/ |
ipaddr_test.py | 18 """Unittest for ipaddr module.""" 23 import ipaddr namespace 26 if issubclass(ipaddr.Bytes, str): 27 _cb = ipaddr.Bytes 34 self.ipv4 = ipaddr.IPv4Network('1.2.3.4/24') 35 self.ipv4_hostmask = ipaddr.IPv4Network('10.0.0.1/0.255.255.255') 36 self.ipv6 = ipaddr.IPv6Network('2001:658:22a:cafe:200:0:0:1/64') 46 repr(ipaddr.IPv4Network('1.2.3.4'))) 48 repr(ipaddr.IPv6Network('::1'))) 51 addr1 = ipaddr.IPv4Network('1.1.1.255/24' [all...] |
setup.py | 19 import ipaddr namespace 22 setup(name='ipaddr', 24 maintainer_email='ipaddr-py-dev@googlegroups.com', 25 version=ipaddr.__version__, 26 url='http://code.google.com/p/ipaddr-py/', 36 py_modules=['ipaddr'])
|
/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.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/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
|
/hardware/libhardware_legacy/include/hardware_legacy/ |
wifi.h | 116 * @param ipaddr return the assigned IPV4 address 126 int do_dhcp_request(int *ipaddr, int *gateway, int *mask,
|
/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...] |
/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-trace/catapult/telemetry/third_party/web-page-replay/third_party/ |
__init__.py | 23 ipaddr_dir = os.path.join(third_party_dir, "ipaddr") 25 import ipaddr namespace
|
/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()
|
/external/wpa_supplicant_8/src/ap/ |
dhcp_snoop.c | 127 if (sta->ipaddr == b->your_ip) 130 if (sta->ipaddr != 0) { 133 ipaddr_str(be_to_host32(sta->ipaddr))); 135 (u8 *) &sta->ipaddr); 146 sta->ipaddr = b->your_ip;
|
/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"
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/httplib2/python2/httplib2/ |
socks.py | 249 ipaddr = socket.inet_aton(destaddr) 250 req = req + chr(0x01).encode() + ipaddr 255 ipaddr = None 259 ipaddr = socket.inet_aton(socket.gethostbyname(destaddr)) 260 req = req + chr(0x01).encode() + ipaddr 286 if ipaddr != None: 287 self.__proxypeername = (socket.inet_ntoa(ipaddr), destport) 317 ipaddr = socket.inet_aton(destaddr) 321 ipaddr = struct.pack("BBBB", 0x00, 0x00, 0x00, 0x01) 324 ipaddr = socket.inet_aton(socket.gethostbyname(destaddr) [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/socksipy-branch/ |
socks.py | 210 ipaddr = socket.inet_aton(destaddr) 211 req = req + chr(0x01).encode() + ipaddr 216 ipaddr = None 220 ipaddr = socket.inet_aton(socket.gethostbyname(destaddr)) 221 req = req + chr(0x01).encode() + ipaddr 247 if ipaddr != None: 248 self.__proxypeername = (socket.inet_ntoa(ipaddr), destport) 278 ipaddr = socket.inet_aton(destaddr) 282 ipaddr = struct.pack("BBBB", 0x00, 0x00, 0x00, 0x01) 285 ipaddr = socket.inet_aton(socket.gethostbyname(destaddr) [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-21/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]; \
|
/hardware/libhardware/include/hardware/ |
gps_internal.h | 77 uint32_t ipaddr; member in struct:__anon30857
|
/prebuilts/ndk/current/platforms/android-12/arch-arm/usr/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]; \
|
/prebuilts/ndk/current/platforms/android-12/arch-mips/usr/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]; \
|
/prebuilts/ndk/current/platforms/android-12/arch-x86/usr/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]; \
|
/prebuilts/ndk/current/platforms/android-13/arch-arm/usr/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]; \
|
/prebuilts/ndk/current/platforms/android-13/arch-mips/usr/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]; \
|