/external/kernel-headers/original/uapi/linux/ |
atmbr2684.h | 102 __be32 netmask; /* 0 = disable filter */ member in struct:br2684_filter
|
/external/libpcap/tests/ |
findalldevstest.c | 100 if (a->netmask) 102 inet_ntoa(((struct sockaddr_in *)(a->netmask))->sin_addr)); 118 if (a->netmask) 121 ((struct sockaddr_in6 *)(a->netmask))->sin6_addr.s6_addr,
|
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)
|
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/ltp/testcases/network/stress/interface/ |
if-mtu-change | 60 [ "$TST_IPV6" ] && local netmask=64 || local netmask=16
|
if4-addr-change | 62 ROD ifconfig $(tst_iface) ${IPV4_LNETWORK}${add_to_net}.${num} netmask \
|
/external/syslinux/core/lwip/src/include/lwip/ |
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/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/dnsmasq/src/ |
dhcp.c | 28 struct in_addr netmask, struct in_addr broadcast, void *vparam); 295 /* This is a complex routine: it gets called with each (address,netmask,broadcast) triple 299 2) Fills in any netmask and broadcast addresses which have not been explicitly configured. 306 struct in_addr netmask, struct in_addr broadcast, void *vparam) 314 (is_same_net(local, context->start, netmask) || 315 is_same_net(local, context->end, netmask))) 317 if (context->netmask.s_addr != netmask.s_addr && 318 !(is_same_net(local, context->start, netmask) && 319 is_same_net(local, context->end, netmask))) [all...] |
/external/libpcap/ |
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),
|
/external/syslinux/core/lwip/src/include/ipv4/lwip/ |
ip_addr.h | 183 /** Get the network address by combining host address with netmask */ 184 #define ip_addr_get_network(target, host, netmask) ((target)->addr = ((host)->addr) & ((netmask)->addr)) 205 #define ip_addr_netmask_valid(netmask) ip4_addr_netmask_valid((netmask)->addr) 206 u8_t ip4_addr_netmask_valid(u32_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
|
/external/ltp/testcases/network/stress/route/ |
route4-change-gw | 73 # Netmask of for the tested network 219 route add -net $dst_network netmask 255.255.255.0 gw ${IPV4_NETWORK}.${rhost_part} dev $lhost_ifname 244 route add -net $dst_network netmask 255.255.255.0 gw ${IPV4_NETWORK}.${rhost_part} dev $lhost_ifname 245 route del -net $dst_network netmask 255.255.255.0 gw ${IPV4_NETWORK}.${pre_rhost_part} dev $lhost_ifname
|
route4-change-if | 70 # Netmask of for the gateway 245 route add -net $dst_network netmask 255.255.255.0 gw $gateway dev $lhost_ifname 276 route add -net $dst_network netmask 255.255.255.0 gw $gateway dev $lhost_ifname 277 route del -net $dst_network netmask 255.255.255.0 gw $pre_gateway dev $pre_lhost_ifname
|
route4-change-dst | 73 # Netmask of for the tested network 221 route add -net $dst_network netmask 255.255.255.0 gw $rhost_ipv4addr dev $lhost_ifname 242 route del -net $dst_network netmask 255.255.255.0 gw $rhost_ipv4addr dev $lhost_ifname
|
/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);
|
/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);
|
/device/generic/goldfish/dhcp/server/ |
dhcpserver.h | 38 in_addr_t netmask,
|
/external/autotest/client/cros/cellular/ |
base_station_interface.py | 29 def SetBsNetmaskV4(self, netmask): 30 """Sets base station netmask."""
|
/external/dhcpcd-6.8.2/ |
if-sun.c | 109 const struct in_addr *netmask, const struct in_addr *broadcast,
|
/external/ltp/testcases/network/dhcp/ |
dhcpd_tests.sh | 62 subnet 10.1.1.0 netmask 255.255.255.0 {
|
/external/syslinux/gpxe/src/include/gpxe/ |
ip.h | 72 struct in_addr netmask; member in struct:ipv4_miniroute
|
/frameworks/base/core/java/android/net/ |
NetworkUtils.java | 158 * Convert a network prefix length to an IPv4 netmask integer 160 * @return the IPv4 netmask as an integer in network byte order 172 * Convert a IPv4 netmask integer to a prefix length 173 * @param netmask as an integer in network byte order 176 public static int netmaskIntToPrefixLength(int netmask) { 177 return Integer.bitCount(netmask); 181 * Convert an IPv4 netmask to a prefix length, checking that the netmask is contiguous. 182 * @param netmask as a {@code Inet4Address}. 184 * @throws IllegalArgumentException the specified netmask was not contiguous [all...] |
/external/ipsec-tools/src/racoon/samples/roadwarrior/client/ |
phase1-up.sh | 36 ifconfig ${if} alias ${INTERNAL_ADDR4} netmask ${INTERNAL_NETMASK4}
|