/external/chromium_org/chromeos/network/ |
network_ip_config.cc | 32 const std::string& address, const std::string& netmask, 37 netmask(netmask), 48 + " netmask: " + netmask
|
network_ip_config.h | 32 const std::string& address, const std::string& netmask, 41 std::string netmask; member in struct:chromeos::NetworkIPConfig
|
network_util.cc | 36 std::string netmask; local 39 return netmask; 49 netmask += "."; 52 netmask += base::StringPrintf("%d", value); 54 return netmask; 57 int32 NetmaskToPrefixLength(const std::string& netmask) { 60 base::StringTokenizer t(netmask, "."); 68 // "0" then the netmask is invalid. For example, 255.224.255.0
|
network_util.h | 75 // Converts a |prefix_length| to a netmask. (for IPv4 only) 76 // e.g. a |prefix_length| of 24 is converted to a netmask of "255.255.255.0". 80 // Converts a |netmask| to a prefixlen. (for IPv4 only) 81 // e.g. a |netmask| of 255.255.255.0 is converted to a prefixlen of 24 82 CHROMEOS_EXPORT int32 NetmaskToPrefixLength(const std::string& netmask);
|
/external/iptables/extensions/ |
libipt_NETMAP.c | 33 netmask2bits(uint32_t netmask) 38 netmask = ntohl(netmask); 39 for (bits = 0, bm = 0x80000000; netmask & bm; netmask <<= 1) 41 if (netmask) 42 return -1; /* holes in netmask */
|
/frameworks/base/core/java/android/net/ |
DhcpInfo.java | 28 public int netmask; field in class:DhcpInfo 44 netmask = source.netmask; 57 str.append(" netmask "); putAddress(str, netmask); 79 dest.writeInt(netmask); 93 info.netmask = in.readInt();
|
/external/libpcap/ |
fad-win32.c | 55 struct sockaddr *netmask, struct sockaddr *broadaddr, 82 if (netmask != NULL) { 83 curaddr->netmask = (struct sockaddr*)dup_sockaddr(netmask, sizeof(struct sockaddr_storage)); 84 if (curaddr->netmask == NULL) { 91 curaddr->netmask = NULL;
|
fad-getad.c | 156 struct sockaddr *addr, *netmask, *broadaddr, *dstaddr; local 204 * Therefore, we supply the address and netmask only 206 * there's obviously no netmask), and supply the 214 netmask = ifa->ifa_netmask; 218 netmask = NULL; 270 ifa->ifa_flags, addr, addr_size, netmask, addr_size,
|
fad-gifc.c | 153 struct sockaddr *netmask, *broadaddr, *dstaddr; local 208 * we still get the netmask, etc. with ioctls on 265 * Get the netmask for this address on this interface. 276 netmask = NULL; 288 netmask = &ifrnetmask.ifr_addr; 289 netmask_size = SA_LEN(netmask); 403 SA_LEN(&ifrp->ifr_addr), netmask, netmask_size,
|
inet.c | 409 struct sockaddr *netmask, size_t netmask_size, 532 if (netmask != NULL) { 533 curaddr->netmask = dup_sockaddr(netmask, netmask_size); 534 if (curaddr->netmask == NULL) { 543 curaddr->netmask = NULL; 550 if (curaddr->netmask != NULL) 551 free(curaddr->netmask); 567 if (curaddr->netmask != NULL) 568 free(curaddr->netmask); [all...] |
/device/generic/goldfish/ |
init.goldfish.sh | 4 ifconfig eth0 10.0.2.15 netmask 255.255.255.0 up 66 *) ifconfig eth1 "$my_ip" netmask 255.255.255.0 up
|
/external/libpcap/tests/ |
findalldevstest.c | 76 if (a->netmask) 78 inet_ntoa(((struct sockaddr_in *)(a->netmask))->sin_addr)); 94 if (a->netmask) 97 ((struct sockaddr_in6 *)(a->netmask))->sin6_addr.s6_addr,
|
nonblocktest.c | 58 bpf_u_int32 localnet, netmask; local 96 if (pcap_lookupnet(device, &localnet, &netmask, ebuf) < 0) { 98 netmask = 0; 103 if (pcap_compile(pd, &fcode, cmdbuf, 1, netmask) < 0)
|
filtertest.c | 169 bpf_u_int32 netmask = PCAP_NETMASK_UNKNOWN; local 209 error("invalid netmask %s", optarg); 210 netmask = addr; 250 if (pcap_compile(pd, &fcode, cmdbuf, Oflag, netmask) < 0) 263 "Usage: %s [-dO] [ -F file ] [ -m netmask] [ -s snaplen ] dlt [ expression ]\n",
|
/bionic/libc/kernel/uapi/linux/ |
atmbr2684.h | 84 __be32 netmask; member in struct:br2684_filter
|
/development/ndk/platforms/android-L/include/linux/ |
atmbr2684.h | 84 __be32 netmask; member in struct:br2684_filter
|
/external/kernel-headers/original/uapi/linux/ |
atmbr2684.h | 101 __be32 netmask; /* 0 = disable filter */ member in struct:br2684_filter
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/linux/ |
atmbr2684.h | 101 __be32 netmask; /* 0 = disable filter */ member in struct:br2684_filter
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/ |
atmbr2684.h | 101 __be32 netmask; /* 0 = disable filter */ member in struct:br2684_filter
|
/prebuilts/ndk/9/platforms/android-19/arch-arm64/usr/include/linux/ |
atmbr2684.h | 84 __be32 netmask; member in struct:br2684_filter
|
/prebuilts/ndk/9/platforms/android-19/arch-mips64/usr/include/linux/ |
atmbr2684.h | 84 __be32 netmask; member in struct:br2684_filter
|
/prebuilts/ndk/9/platforms/android-19/arch-x86_64/usr/include/linux/ |
atmbr2684.h | 84 __be32 netmask; member in struct:br2684_filter
|
/external/dnsmasq/src/ |
dhcp.c | 28 struct in_addr netmask, struct in_addr broadcast, void *vparam); 357 /* This is a complex routine: it gets called with each (address,netmask,broadcast) triple 361 2) Fills in any netmask and broadcast addresses which have not been explicitly configured. 368 struct in_addr netmask, struct in_addr broadcast, void *vparam) 376 (is_same_net(local, context->start, netmask) || 377 is_same_net(local, context->end, netmask))) 379 if (context->netmask.s_addr != netmask.s_addr && 380 !(is_same_net(local, context->start, netmask) && 381 is_same_net(local, context->end, netmask))) [all...] |
/external/chromium_org/tools/telemetry/telemetry/core/forwarders/ |
android_forwarder.py | 251 #ifconfig rndis0 192.168.42.2 netmask 255.255.255.0 up 312 match = re.search('(?<=netmask )\S+', line) 348 def _NextUnusedAddress(network, netmask, used_addresses): 350 for suffix in range(1, 0xFFFFFFFF & ~netmask): 379 ' netmask 255.255.255.0', 397 host_ip, netmask = host_address 398 network = host_ip & netmask 415 device_ip = _NextUnusedAddress(network, netmask, used_addresses) 421 netmask = _Long2Ip(netmask) [all...] |
/cts/tests/tests/net/src/android/net/cts/ |
DhcpInfoTest.java | 29 String expectedDefault = "ipaddr 0.0.0.0 gateway 0.0.0.0 netmask 0.0.0.0 dns1 0.0.0.0 " 36 String expected = "ipaddr " + STR_ADDR1 + " gateway " + STR_ADDR2 + " netmask " 47 dhcpInfo.netmask = ipToInteger(STR_ADDR3);
|