HomeSort by relevance Sort by last modified time
    Searched refs:subnet (Results 1 - 25 of 27) sorted by null

1 2

  /external/wpa_supplicant_8/wpa_supplicant/examples/
udhcpd-p2p.conf 87 option subnet 255.255.255.0
93 #opt subnet
  /tools/test/connectivity/acts/framework/acts/controllers/ap_lib/
dhcp_server.py 26 """Error thrown when the dhcp server has no interfaces on any subnet."""
168 'Dhcp does not contain a subnet for any of the networks the'
186 for subnet in config.subnets:
187 address = subnet.network.network_address
188 mask = subnet.network.netmask
189 router = subnet.router
190 start = subnet.start
191 end = subnet.end
192 lease_time = subnet.lease_time
194 lines.append('subnet %s netmask %s {' % (address, mask)
    [all...]
dhcp_config.py 20 class Subnet(object):
21 """Configs for a subnet on the dhcp server.
24 network: ipaddress.IPv4Network, the network that this subnet is in.
27 router: The router to give to all hosts in this subnet.
28 lease: The lease time of all hosts in this subnet.
32 subnet,
40 subnet is.
42 give hosts in this subnet. If not given then the first ip in
47 subnet. If not given the first ip in the network is used.
49 hosts in this subnet have
    [all...]
  /external/perfetto/infra/git_mirror_bot/
Makefile 39 --subnet "default" \
  /external/autotest/client/cros/
dhcpv6_test_server.py 41 CONFIG_SUBNET = 'subnet'
62 subnet = '%s/%d' % (DHCPV6_SERVER_SUBNET_PREFIX,
76 CONFIG_SUBNET: subnet,
91 'subnet6 %(subnet)s {',
dhcp_test_base.py 53 Create a new IPv4 address in a subnet by bitwise and'ing an existing
56 the subnet mask.
62 @param subnet_mask string subnet mask, e.g. "255.255.255.0"
63 @param ip_in_subnet string an IP address in the desired subnet
66 @return string IP address on in the same subnet with specified suffix.
70 subnet = mask & struct.unpack('!I', socket.inet_aton(ip_in_subnet))[0]
72 return socket.inet_ntoa(struct.pack('!I', (subnet | suffix)))
  /prebuilts/go/darwin-x86/src/net/
example_test.go 90 // This mask corresponds to a /24 subnet for IPv4.
95 // This mask corresponds to a /32 subnet for IPv6.
105 // This mask corresponds to a /31 subnet for IPv4.
108 // This mask corresponds to a /64 subnet for IPv6.
  /prebuilts/go/linux-x86/src/net/
example_test.go 90 // This mask corresponds to a /24 subnet for IPv4.
95 // This mask corresponds to a /32 subnet for IPv6.
105 // This mask corresponds to a /31 subnet for IPv4.
108 // This mask corresponds to a /64 subnet for IPv6.
  /tools/test/connectivity/acts/framework/acts/controllers/
access_point.py 83 _ApInstance = collections.namedtuple('_ApInstance', ['hostapd', 'subnet'])
120 self._AP_2G_SUBNET = dhcp_config.Subnet(
122 self._AP_5G_SUBNET = dhcp_config.Subnet(
191 will start up hostapd on that interface. Next a subnet is created for
193 for that subnet for any device that connects through that interface.
213 subnet = self._AP_2G_SUBNET
216 subnet = self._AP_5G_SUBNET
239 new_instance = _ApInstance(hostapd=apd, subnet=subnet)
269 dhcp_bss[bss] = dhcp_config.Subnet(
    [all...]
  /external/tensorflow/tensorflow/contrib/specs/python/
specs_ops.py 171 def __init__(self, subnet, name=None, scope=None):
181 for the variables (e.g., for saving a subnet).
184 subnet: Definition of the shared network.
202 self.subnet = subnet
209 This wraps a variable scope around the creation of the subnet.
212 x: The input argument on which the subnet is invoked.
215 The output tensor from invoking the subnet constructor.
220 return self.subnet.funcall(x)
223 return self.subnet.funcall(x
    [all...]
  /external/ltp/testcases/network/dhcp/
dhcpd_tests.sh 62 subnet 10.1.1.0 netmask 255.255.255.0 {
  /external/autotest/scheduler/
agent_task.py 387 subnet = utils.get_restricted_subnet(hostname,
391 # restricted and unrestricted subnet. No drone can work in such
393 if ((not subnet and filtered_drones is not None) or
394 (subnet and has_unrestricted_host)):
395 logging.error('The test has some DUT in restricted subnet, '
396 'but some in unrestricted subnet. Therefore, '
400 if not subnet:
407 subnet[0], subnet[1],
409 logging.info('DUT %s is in restricted subnet, drone can only
    [all...]
  /hardware/qcom/data/ipacfg-mgr/msm8998/hal/src/
PrefixParser.cpp 140 string subnet; local
143 if (!splitIntoAddrAndMask(in, addr, subnet)) {
148 int mask = parseSubnetMask(subnet, famHint);
184 * / represents the start of the subnet mask
223 * must be the subnet.
233 /* There is no /, therefore, there is no subnet */
248 /* Treat no subnet mask as fully qualified */
369 mLastErr = "Failed parse subnet mask(" + std::to_string(mask) + ")";
372 mLastErr = "Subnet mask cannot be 0(" + std::to_string(mask) + ")";
  /external/autotest/client/common_lib/cros/network/
netblock.py 15 @param prefix_len: int number of bits forming the IP subnet prefix for
97 def subnet(self): member in class:Netblock
98 """@return the IPv4 subnet, e.g., '192.168.0.0'."""
121 @param prefix_len: int length of subnet prefix (e.g. 24).
131 """Get an address in a subnet.
interface.py 301 """@return string subnet of IPv4 address (e.g. '192.168.0.0')"""
303 return addr.subnet if addr else None
308 """@return the IPv4 subnet mask e.g., "255.255.255.0"."""
  /packages/apps/Settings/src/com/android/settings/wifi/details/
WifiDetailPreferenceController.java 444 String subnet = null; local
450 subnet = ipv4PrefixLengthToSubnetMask(addr.getPrefixLength());
472 updatePreference(mSubnetPref, subnet);
  /external/ipsec-tools/src/racoon/
ipsec_doi.c     [all...]
cftoken.l 551 subnet { YYD; yylval.num = IDTYPE_SUBNET; return(IDENTIFIERTYPE); }
  /external/autotest/client/common_lib/
utils.py     [all...]
  /packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details/
WifiDetailPreferenceControllerTest.java 213 IpPrefix subnet = new IpPrefix(IPV4_ADDR.getAddress(), IPV4_PREFIXLEN); external variable declarations
214 IPV4_SUBNET = new RouteInfo(subnet, any4);
  /external/autotest/client/common_lib/cros/
dev_server.py 703 """Get the devservers in the same subnet of the given ip.
708 unrestricted subnet only. Default is False.
710 @return: A list of devservers in the same subnet of the given ip.
738 """Get the devservers not in any restricted subnet specified in
743 @return: A list of devservers not in any restricted subnet.
787 """Get devservers in the same subnet of the given hostname.
795 used. For example, if hostname is in a restricted subnet,
804 'devserver without subnet constraint.', hostname)
809 # Go through all restricted subnet settings and check if the DUT is
810 # inside a restricted subnet. If so, only return the devservers in th
    [all...]
  /external/autotest/server/
site_linux_router.py 667 """Return IP address on the WiFi subnet of a local server on the router.
682 """Return subnet of WiFi AP instance.
692 return self.local_servers[ap_num]['netblock'].subnet
    [all...]
  /prebuilts/tools/common/m2/repository/com/amazonaws/aws-java-sdk-dms/1.11.18/
aws-java-sdk-dms-1.11.18.jar 
  /prebuilts/tools/common/m2/repository/com/amazonaws/aws-java-sdk-elasticache/1.11.18/
aws-java-sdk-elasticache-1.11.18.jar 
  /prebuilts/tools/common/m2/repository/com/amazonaws/aws-java-sdk-rds/1.11.18/
aws-java-sdk-rds-1.11.18.jar 

Completed in 424 milliseconds

1 2