HomeSort by relevance Sort by last modified time
    Searched refs:netmask (Results 51 - 75 of 145) sorted by null

1 23 4 5 6

  /external/ltp/testcases/network/stress/route/
route4-redirect 72 # Netmask of for the tested network
153 route add -net ${DST_NETWORK}.0 netmask 255.255.255.0 gw ${IPV4_NETWORK}.${RHOST_IPV4_HOST} dev $lhost_ifname
route4-ifdown 71 # Netmask of for the tested network
206 route add -net $dst_network netmask 255.255.255.0 gw $rhost_ipv4addr dev $lhost_ifname
route4-rmmod 71 # Netmask of for the tested network
229 route add -net $dst_network netmask 255.255.255.0 gw $rhost_ipv4addr dev $lhost_ifname
  /external/syslinux/core/fs/pxe/
pxe.h 202 if ((ip ^ IPInfo.myip) & IPInfo.netmask)
230 int undiif_start(uint32_t ip, uint32_t netmask, uint32_t gw);
dhcp_option.c 19 IPInfo.netmask = *(const uint32_t *)data;
  /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...]
  /external/autotest/client/cros/
routing.py 34 self.netmask = mask
50 self._intToIp(self.netmask),
67 return (self._ipToInt(ip) & self.netmask) == self.destination
113 # netmask = set first plen bits to 1, all following to 0
  /external/dnsmasq/src/
netlink.c 194 struct in_addr netmask, addr, broadcast; local
196 netmask.s_addr = htonl(0xffffffff << (32 - ifa->ifa_prefixlen));
211 if (!((*ipv4_callback)(addr, ifa->ifa_index, netmask, broadcast, parm)))
forward.c 580 struct in_addr netmask, dst_addr_4; local
606 netmask = listen->iface->netmask;
611 netmask.s_addr = 0;
688 netmask = ((struct sockaddr_in *) &ifr.ifr_addr)->sin_addr;
708 dst_addr_4, netmask, now);
727 struct in_addr local_addr, struct in_addr netmask)
775 local_addr, netmask, now);
  /external/libpcap/tests/
filtertest.c 241 bpf_u_int32 netmask = PCAP_NETMASK_UNKNOWN; local
289 error("invalid netmask %s", optarg);
290 netmask = addr;
333 if (pcap_compile(pd, &fcode, cmdbuf, Oflag, netmask) < 0)
361 "Usage: %s [-dO] [ -F file ] [ -m netmask] [ -s snaplen ] dlt [ expression ]\n",
  /external/toybox/toys/pending/
ip.c 373 * Used to calculate netmask, which can be in the form of
376 static int get_nmask_prefix(uint32_t *netmask, uint8_t af,
384 *netmask = (af == AF_INET6) ? 128 : 32; // set default netmask
387 if (!ptr || ptr == name || *ptr || !plen || plen > *netmask) {
396 *netmask = plen;
406 static void parse_prefix(uint32_t *addr, uint32_t *netmask, uint8_t *len,
415 if (slash) { // grab netmask.
416 if (get_nmask_prefix(netmask, af, slash+1, family))
420 else if (af == AF_INET && *addr) *netmask = 32
1092 uint32_t addr[4] = {0,}, netmask = 0; local
1154 uint32_t addr[8] = {0,}, netmask = 0; local
1225 int idx; uint32_t netmask = 0, found = 0; local
1441 uint32_t addr[8] , netmask ; member in struct:I_data
1690 uint32_t addr[8] = {0,}, netmask = 0; local
1891 uint32_t addr[8] = {0,}, netmask = 0; local
2103 uint32_t addr[4] = {0,}, netmask = 0; local
    [all...]
  /external/autotest/client/common_lib/cros/network/
netblock.py 85 def netmask(self): member in class:Netblock
86 """@return the IPv4 netmask, e.g., '255.255.255.0'."""
  /external/parameter-framework/asio-1.10.6/include/asio/ip/
address_v4.hpp 184 /// corresponds to the specified address and netmask.
188 /// Obtain the netmask that corresponds to the address, based on its address
190 ASIO_DECL static address_v4 netmask(const address_v4& addr);
  /bionic/libc/kernel/uapi/linux/
ip_vs.h 96 __be32 netmask; member in struct:ip_vs_service_user
131 __be32 netmask; member in struct:ip_vs_service_entry
  /device/generic/goldfish/dhcp/server/
dhcpserver.cpp 40 in_addr_t netmask,
46 mNetmask(netmask),
  /external/kernel-headers/original/uapi/linux/
ip_vs.h 142 __be32 netmask; /* persistent netmask */ member in struct:ip_vs_service_user
204 __be32 netmask; /* persistent netmask */ member in struct:ip_vs_service_entry
356 IPVS_SVC_ATTR_NETMASK, /* persistent netmask */
  /external/libpcap/
pcap-dos.c 502 * Gets localnet & netmask from Watt-32.
505 bpf_u_int32 *netmask, char *errbuf)
520 if (IN_CLASSA(*netmask))
522 else if (IN_CLASSB(*netmask))
524 else if (IN_CLASSC(*netmask))
533 *netmask = htonl (mask);
549 struct sockaddr *addr, *netmask, *broadaddr, *dstaddr; local
571 netmask = (struct sockaddr*) &sa_ll_1;
584 netmask, addr_size, broadaddr, addr_size,
986 printf ("Just guessing, using IP %s and netmask %s\n", myip, mask)
    [all...]
pcap-rpcap.h 175 struct sockaddr_storage netmask; /* Netmask for that address */ member in struct:rpcap_findalldevs_ifaddr
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/
ip_vs.h 130 __be32 netmask; /* persistent netmask */ member in struct:ip_vs_service_user
192 __be32 netmask; /* persistent netmask */ member in struct:ip_vs_service_entry
344 IPVS_SVC_ATTR_NETMASK, /* persistent netmask */
  /external/iputils/
rdisc.c 74 struct in_addr netmask; member in struct:interface
631 if ((sin->sin_addr.s_addr & ifp->netmask.s_addr) ==
632 (ifp->address.s_addr & ifp->netmask.s_addr)) {
684 "Netmask Request",
685 "Netmask Reply"
1173 interfaces[i].netmask.s_addr = (__u32)0xffffffff;
1196 logperror("initifs: ioctl (get netmask)");
1200 interfaces[i].netmask = sin->sin_addr;
1290 if ((in.s_addr & interfaces[i].netmask.s_addr ) ==
1291 (interfaces[i].remoteaddr.s_addr & interfaces[i].netmask.s_addr)
    [all...]
  /external/iproute2/examples/
dhcp-client-script 158 mask_arg="netmask $3"
246 route $op -net $1 netmask `ABCMask "$1"` gw $2
348 ifconfig $interface:dhcp 10.10.10.10 netmask 255.255.255.255
  /external/syslinux/com32/include/syslinux/
config.h 62 uint32_t netmask; member in struct:syslinux_ipinfo
  /external/syslinux/core/lwip/src/core/ipv4/
ip.c 132 if (ip_addr_netcmp(dest, &(netif->ip_addr), &(netif->netmask))) {
336 ip4_addr_get_u32(&iphdr->dest) & ip4_addr_get_u32(&netif->netmask),
337 ip4_addr_get_u32(&netif->ip_addr) & ip4_addr_get_u32(&netif->netmask),
338 ip4_addr_get_u32(&iphdr->dest) & ~ip4_addr_get_u32(&netif->netmask)));
  /external/wpa_supplicant_8/wpa_supplicant/examples/
p2p-action.sh 53 sudo ifconfig $GIFNAME "$ipaddr" netmask "$ipmask"
  /tools/test/connectivity/acts/framework/acts/controllers/ap_lib/
dhcp_server.py 188 mask = subnet.network.netmask
194 lines.append('subnet %s netmask %s {' % (address, mask))

Completed in 4223 milliseconds

1 23 4 5 6