Home
last modified time | relevance | path

Searched refs:subnets (Results 1 – 20 of 20) sorted by relevance

/external/bcc/tools/
Dtcpsubnet.py145 def parse_subnets(subnets): argument
147 for s in subnets:
173 def generate_bpf_subnets(subnets): argument
183 for i, s in enumerate(subnets):
191 subnets = [] variable
192 if args.subnets:
193 subnets = args.subnets.split(",") variable
195 subnets = parse_subnets(subnets) variable
198 logging.debug(subnets)
200 bpf_subnets = generate_bpf_subnets(subnets)
[all …]
Dtcpsubnet_example.txt35 By default, tcpsubnet will categorize traffic in the following subnets:
46 of subnets. Let's say we would like to know how much traffic we
91 to approximate subnets nor need to put individual IP addresses like
115 on how the subnets are evaluated and the BPF program is constructed.
136 usage: tcpsubnet.py [-h] [-v] [-J] [-f {b,k,m,B,K,M}] [-i INTERVAL] [subnets]
141 subnets comma separated list of subnets
154 ./tcpsubnet # Trace TCP sent to the default subnets:
157 ./tcpsubnet -f K # Trace TCP sent to the default subnets
/external/python/cpython3/Lib/test/
Dtest_ipaddress.py1466 self.assertEqual(sorted(self.ipv4_network.subnets(prefixlen_diff=3)),
1467 sorted(self.ipv4_network.subnets(new_prefix=27)))
1469 self.ipv4_network.subnets(new_prefix=23))
1471 self.ipv4_network.subnets(prefixlen_diff=3,
1473 self.assertEqual(sorted(self.ipv6_network.subnets(prefixlen_diff=4)),
1474 sorted(self.ipv6_network.subnets(new_prefix=68)))
1476 self.ipv6_network.subnets(new_prefix=63))
1478 self.ipv6_network.subnets(prefixlen_diff=4,
1480 self.assertEqual(sorted(self.ipv6_scoped_network.subnets(prefixlen_diff=4)),
1481 sorted(self.ipv6_scoped_network.subnets(new_prefix=68)))
[all …]
Dcfgparser.2190 # Cause this host to announce itself to local subnets here
202 # allows Samba to collate browse lists between subnets. Don't use this
/external/python/ipaddress/
Dtest_ipaddress.py1199 self.assertEqual(sorted(self.ipv4_network.subnets(prefixlen_diff=3)),
1200 sorted(self.ipv4_network.subnets(new_prefix=27)))
1202 self.ipv4_network.subnets(new_prefix=23))
1204 self.ipv4_network.subnets(prefixlen_diff=3,
1206 self.assertEqual(sorted(self.ipv6_network.subnets(prefixlen_diff=4)),
1207 sorted(self.ipv6_network.subnets(new_prefix=68)))
1209 self.ipv6_network.subnets(new_prefix=63))
1211 self.ipv6_network.subnets(prefixlen_diff=4,
1215 self.assertEqual(list(self.ipv4_network.subnets())[0].prefixlen, 25)
1217 _compat_str(list(self.ipv4_network.subnets())[0].network_address),
[all …]
Dipaddress.py403 subnets = {}
407 existing = subnets.get(supernet)
409 subnets[supernet] = net
412 del subnets[supernet]
416 for net in sorted(subnets.values()):
915 s1, s2 = self.subnets()
919 s1, s2 = s1.subnets()
922 s1, s2 = s2.subnets()
996 def subnets(self, prefixlen_diff=1, new_prefix=None): member in _BaseNetwork
/external/python/cpython3/Lib/
Dipaddress.py284 subnets = {}
288 existing = subnets.get(supernet)
290 subnets[supernet] = net
293 del subnets[supernet]
297 for net in sorted(subnets.values()):
851 s1, s2 = self.subnets()
855 s1, s2 = s1.subnets()
858 s1, s2 = s2.subnets()
932 def subnets(self, prefixlen_diff=1, new_prefix=None): member in _BaseNetwork
/external/python/cpython3/Doc/library/
Dipaddress.rst594 .. method:: subnets(prefixlen_diff=1, new_prefix=None)
596 The subnets that join to make the current network definition, depending
599 prefix of the subnets; it must be larger than our prefix. One and
603 >>> list(ip_network('192.0.2.0/24').subnets())
605 … >>> list(ip_network('192.0.2.0/24').subnets(prefixlen_diff=2)) #doctest: +NORMALIZE_WHITESPACE
608 … >>> list(ip_network('192.0.2.0/24').subnets(new_prefix=26)) #doctest: +NORMALIZE_WHITESPACE
611 >>> list(ip_network('192.0.2.0/24').subnets(new_prefix=23))
616 >>> list(ip_network('192.0.2.0/24').subnets(new_prefix=25))
741 .. method:: subnets(prefixlen_diff=1, new_prefix=None)
/external/selinux/secilc/docs/
Dcil_infiniband_statements.md4 … provided for: Partition Keys (Pkey) that are 16 bit numbers assigned to subnets and their IB end …
/external/rust/crates/grpcio-sys/grpc/src/proto/grpc/testing/xds/v3/
Dlistener.proto85 // connection is contained in at least one of the specified subnets. If the
/external/autotest/
Dglobal_config.ini314 # A list of restricted subnets, in the format of ip/mask_bits, e.g., 10.0.0.1/24
/external/dnsmasq/
Ddnsmasq.conf.example270 # Set the "all subnets are local" flag
DCHANGELOG.archive1620 Fixed DHCP bug when two distict subnets are on the same
/external/python/cpython3/Misc/NEWS.d/
D3.5.2rc1.rst1073 Fixed the subnets() methods in IP network classes for the case when
D3.6.0a1.rst1718 Fixed the subnets() methods in IP network classes for the case when
D3.5.0a1.rst3577 ipaddress.{IPv4Network,IPv6Network}.subnets().
/external/python/cpython3/Doc/whatsnew/
D3.5.rst2120 :meth:`~ipaddress.IPv4Network.subnets`, :meth:`~ipaddress.IPv4Network.supernet`,
/external/libnl/doc/
Dcore.txt2895 f.e. used to implement subnets.
/external/jline/src/src/test/resources/jline/example/
Denglish.gz
/external/kotlinx.coroutines/benchmarks/src/jmh/resources/
Dospd.txt.gz