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

1 2 3

  /device/generic/goldfish/dhcp/server/
main.cpp 32 in_addr_t netmask = 0; local
81 } else if (strcmp("--netmask", argv[i]) == 0) {
83 ALOGE("ERROR: Missing argument to --netmask parameter");
89 netmask = address.s_addr;
91 ALOGE("ERROR: Invalid netmask '%s'", argv[i + 1]);
123 if (netmask == 0) {
124 ALOGE("ERROR: Missing or invalid --netmask argument");
131 netmask,
  /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/libpcap/
fad-getad.c 152 struct sockaddr *addr, *netmask, *broadaddr, *dstaddr; local
219 * the address and netmask only if "ifa_addr" is
221 * no netmask).
226 netmask = ifa->ifa_netmask;
230 netmask = NULL;
270 addr, addr_size, netmask, addr_size,
fad-gifc.c 149 struct sockaddr *netmask, *broadaddr, *dstaddr; local
204 * we still get the netmask, etc. with ioctls on
268 * Get the netmask for this address on this interface.
279 netmask = NULL;
291 netmask = &ifrnetmask.ifr_addr;
292 netmask_size = SA_LEN(netmask);
407 netmask, netmask_size, broadaddr, broadaddr_size,
fad-glifc.c 92 struct sockaddr *netmask, *broadaddr, *dstaddr; local
212 * Get the netmask for this address on this interface.
223 netmask = NULL;
234 netmask = (struct sockaddr *)&ifrnetmask.lifr_addr;
336 netmask, sizeof (struct sockaddr_storage),
  /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/syslinux/core/lwip/src/include/lwip/
netifapi.h 56 ip_addr_t *netmask; member in struct:netifapi_msg_msg::__anon37150::__anon37151
78 ip_addr_t *netmask,
86 ip_addr_t *netmask,
netif.h 142 ip_addr_t netmask; member in struct:netif
255 struct netif *netif_add(struct netif *netif, ip_addr_t *ipaddr, ip_addr_t *netmask,
259 netif_set_addr(struct netif *netif, ip_addr_t *ipaddr, ip_addr_t *netmask,
272 void netif_set_netmask(struct netif *netif, ip_addr_t *netmask);
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/policyrep/
netcontext.py 107 return "nodecon {0.address} {0.netmask} {0.context}".format(self)
110 return hash("nodecon|{0.address}|{0.netmask}".format(self))
118 self.netmask == other.netmask and
137 def netmask(self): member in class:Nodecon
  /bionic/libc/bionic/
ifaddrs.cpp 58 sockaddr_storage netmask; member in struct:ifaddrs_storage
107 // that into a BSD-compatible netmask represented by a sockaddr*.
109 // ...and work out the netmask from the prefix length.
110 netmask.ss_family = family;
111 uint8_t* dst = SockaddrBytes(family, &netmask);
116 ifa.ifa_netmask = reinterpret_cast<sockaddr*>(&netmask);
  /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);
network.c 123 union mysockaddr *addr, struct in_addr netmask)
199 iface->netmask = netmask;
216 struct in_addr netmask; /* dummy */ local
218 netmask.s_addr = 0;
237 return iface_allowed((struct irec **)vparam, if_index, &addr, netmask);
242 struct in_addr netmask, struct in_addr broadcast, void *vparam)
255 return iface_allowed((struct irec **)vparam, if_index, &addr, netmask);
    [all...]
  /external/libpcap/tests/
capturetest.c 113 bpf_u_int32 localnet, netmask; local
204 if (pcap_lookupnet(device, &localnet, &netmask, ebuf) < 0) {
206 netmask = 0;
211 if (pcap_compile(pd, &fcode, cmdbuf, 1, netmask) < 0)
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",
selpolltest.c 115 bpf_u_int32 localnet, netmask; local
183 if (pcap_lookupnet(device, &localnet, &netmask, ebuf) < 0) {
185 netmask = 0;
190 if (pcap_compile(pd, &fcode, cmdbuf, 1, netmask) < 0)
  /external/syslinux/gpxe/src/include/gpxe/
ip.h 72 struct in_addr netmask; member in struct:ipv4_miniroute
  /bionic/libc/kernel/uapi/linux/
atmbr2684.h 71 __be32 netmask; member in struct:br2684_filter
  /external/kernel-headers/original/uapi/linux/
atmbr2684.h 102 __be32 netmask; /* 0 = disable filter */ member in struct:br2684_filter
  /external/syslinux/gpxe/src/net/
ipv4.c 42 * @v netmask Subnet mask
48 struct in_addr netmask, struct in_addr gateway ) {
52 DBG ( "/%s ", inet_ntoa ( netmask ) );
67 miniroute->netmask = netmask;
90 DBG ( "/%s ", inet_ntoa ( miniroute->netmask ) );
124 & miniroute->netmask.s_addr ) == 0 );
565 .name = "netmask",
590 struct in_addr netmask = { 0 }; local
606 fetch_ipv4_setting ( settings, &netmask_setting, &netmask );
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/
atmbr2684.h 101 __be32 netmask; /* 0 = disable filter */ member in struct:br2684_filter
  /external/toybox/toys/pending/
route.c 9 * route add -net target 10.0.0.0 netmask 255.0.0.0 dev eth0
11 * delete net route, must match netmask, informative error message
13 * mod dyn reinstate metric netmask gw mss window irtt dev
29 interface's address and netmask, so the most common use of this command
44 netmask - old way of saying things like ADDR/24
189 * used to get the params like: metric, netmask, gw, mss, window, irtt, dev and their values.
192 static void get_next_params(char **argv, struct rtentry *rt, char **netmask)
205 else if (!strcmp(*argv, "netmask")) {
206 //when adding a network route, the netmask to be used.
210 if (addr_mask) help_exit("dup netmask");
260 char *netmask, *targetip; local
    [all...]
  /external/libpcap/pcap/
pcap.h 236 struct sockaddr *netmask; /* netmask for that address */ member in struct:pcap_addr
273 * Value to pass to pcap_compile() as the netmask if you don't know what
274 * the netmask is.
  /external/syslinux/com32/include/syslinux/
config.h 62 uint32_t netmask; member in struct:syslinux_ipinfo
  /external/syslinux/core/lwip/src/netif/ppp/
ppp.h 339 ip_addr_t our_ipaddr, his_ipaddr, netmask, dns1, dns2; member in struct:ppp_addrs
471 /* Get appropriate netmask for address */

Completed in 2635 milliseconds

1 2 3