HomeSort by relevance Sort by last modified time
    Searched full:netmask (Results 1 - 25 of 152) sorted by null

1 2 3 4 5 6 7

  /external/smack/src/org/xbill/DNS/
ClientSubnetOption.java 25 * for IPv6), a 1-byte source netmask, a 1-byte scope netmask, and an address
26 * truncated to the source netmask length (where the final octet is padded with
60 * the address must not be greater than the supplied source netmask.
62 * @param sourceNetmask The length of the netmask pertaining to the query.
64 * @param scopeNetmask The length of the netmask pertaining to the reply.
66 * the source netmask.
74 this.sourceNetmask = checkMaskLength("source netmask", this.family,
76 this.scopeNetmask = checkMaskLength("scope netmask", this.family,
81 throw new IllegalArgumentException("source netmask is not "
    [all...]
  /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 30 public int netmask; field in class:DhcpInfo
46 netmask = source.netmask;
59 str.append(" netmask "); putAddress(str, netmask);
81 dest.writeInt(netmask);
95 info.netmask = in.readInt();
NetworkUtils.java 135 * Convert a network prefix length to an IPv4 netmask integer
137 * @return the IPv4 netmask as an integer in network byte order
149 * Convert a IPv4 netmask integer to a prefix length
150 * @param netmask as an integer in network byte order
153 public static int netmaskIntToPrefixLength(int netmask) {
154 return Integer.bitCount(netmask);
  /development/scripts/
reverse_tether.sh 17 : ${NETMASK:=255.255.255.0}
72 echo " -m netmask NETMASK=$NETMASK"
101 $ADB shell "ifconfig $PHONE_DEV $PHONE_IP netmask $NETMASK up"
102 sudo ifconfig $HOST_DEV $HOST_IP netmask $NETMASK up
127 $ADB shell "ifconfig $PHONE_DEV $PHONE_IP netmask $NETMASK up
    [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);
  /external/dhcpcd/dhcpcd-hooks/
50-dhcpcd-compat 5 NETMASK=$new_subnet_mask
34 for x in IPADDR INTERFACE NETMASK BROADCAST NETWORK DHCPSID GATEWAYS \
  /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
  /system/core/toolbox/
route.c 49 /* route add -net 192.168.1.2 netmask 255.255.255.0 gw 192.168.1.1 */
81 /* route add -net 192.168.1.2 netmask 255.255.255.0 gw 192.168.1.1 */
83 !strcmp(argv[4], "netmask")) {
  /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/libpcap/
fad-getad.c 143 struct sockaddr *addr, *netmask, *broadaddr, *dstaddr; local
191 * Therefore, we supply the address and netmask only
193 * there's obviously no netmask), and supply the
201 netmask = ifa->ifa_netmask;
205 netmask = NULL;
257 ifa->ifa_flags, addr, addr_size, netmask, addr_size,
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;
inet.c 362 struct sockaddr *netmask, size_t netmask_size,
409 if (netmask != NULL) {
410 curaddr->netmask = dup_sockaddr(netmask, netmask_size);
411 if (curaddr->netmask == NULL) {
420 curaddr->netmask = NULL;
427 if (curaddr->netmask != NULL)
428 free(curaddr->netmask);
444 if (curaddr->netmask != NULL)
445 free(curaddr->netmask);
    [all...]
  /external/libsepol/include/sepol/
node_record.h 54 /* Netmask */
  /external/libppp/src/
arp.c 288 struct sockaddr_in *ifa, *netmask; local
291 netmask = (struct sockaddr_in *)sa[RTAX_NETMASK];
296 strncpy(a, inet_ntoa(netmask->sin_addr), sizeof a - 1);
302 if ((ifa->sin_addr.s_addr & netmask->sin_addr.s_addr) ==
303 (ipaddr.s_addr & netmask->sin_addr.s_addr)) {
ipcp.h 56 struct in_addr netmask; /* Iface netmask (unused by most OSs) */ member in struct:ipcp::__anon10769
91 struct in_addr ifmask; /* Interface netmask */
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
IPAddress.java 19 * Validate the given IPv4 or IPv6 address and netmask.
23 * @return true if a valid address with netmask, false otherwise
  /external/ppp/pppd/plugins/radius/etc/
dictionary.compat 8 ATTRIBUTE Framed-Netmask 9 ipaddr
  /external/iproute2/include/linux/
if_arp.h 113 struct sockaddr arp_netmask; /* netmask (only for proxy arps) */
121 struct sockaddr arp_netmask; /* netmask (only for proxy arps) */
129 #define ATF_NETMASK 0x20 /* want to use a netmask (only
  /external/ipsec-tools/src/racoon/
isakmp_cfg.h 158 struct in_addr mask4; /* IPv4 netmask */
180 #define ISAKMP_CFG_MASK4_EXTERN 0x10 /* Netmask from external config */
182 #define ISAKMP_CFG_MASK4_LOCAL 0x40 /* Netmask from local pool */
  /external/kernel-headers/original/linux/
if_arp.h 113 struct sockaddr arp_netmask; /* netmask (only for proxy arps) */
121 struct sockaddr arp_netmask; /* netmask (only for proxy arps) */
129 #define ATF_NETMASK 0x20 /* want to use a netmask (only
  /frameworks/native/cmds/ip-up-vpn/
ip-up-vpn.c 61 * is to have an interface configured with the given address and netmask
127 /* Set the netmask. */
130 ALOGE("Cannot set netmask: %s", strerror(errno));
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/
if_arp.h 107 struct sockaddr arp_netmask; /* netmask (only for proxy arps) */
115 struct sockaddr arp_netmask; /* netmask (only for proxy arps) */
123 #define ATF_NETMASK 0x20 /* want to use a netmask (only
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/net/
if_arp.h 142 struct sockaddr arp_netmask; /* Netmask (only for proxy arps). */
151 struct sockaddr arp_netmask; /* Netmask (only for proxy arps). */
159 #define ATF_NETMASK 0x20 /* Want to use a netmask (only
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/
if_arp.h 107 struct sockaddr arp_netmask; /* netmask (only for proxy arps) */
115 struct sockaddr arp_netmask; /* netmask (only for proxy arps) */
123 #define ATF_NETMASK 0x20 /* want to use a netmask (only

Completed in 471 milliseconds

1 2 3 4 5 6 7