Home
last modified time | relevance | path

Searched refs:hostmask (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython3/Lib/
Dipaddress.py695 int(self.hostmask))
700 def hostmask(self): member in _BaseNetwork
717 return '%s/%s' % (self.network_address, self.hostmask)
917 step = (int(self.hostmask) + 1) >> prefixlen_diff
1397 self.hostmask = self.network.hostmask
1407 self.hostmask = self.network.hostmask
1459 self.hostmask)
2073 self.hostmask = self.network.hostmask
2081 self.hostmask = self.network.hostmask
2133 self.hostmask)
/external/python/cpython3/Doc/howto/
Dipaddress.rst206 the hostmask (any bits that are not part of the netmask):
211 >>> net4.hostmask
216 >>> net6.hostmask
/external/python/cpython3/Lib/test/
Dtest_ipaddress.py446 str(self.factory('0.0.0.0/%s' % net.hostmask)), net_str)
992 self.assertEqual(str(self.ipv6_network.hostmask),
2019 self.assertEqual(self.ipv4_network.hostmask,
2039 self.assertEqual(self.ipv6_network.hostmask,
2044 self.assertEqual(self.ipv6_interface.network.hostmask,
/external/python/cpython3/Doc/library/
Dipaddress.rst447 .. attribute:: hostmask
644 .. attribute:: hostmask
/external/libpcap/
Dgencode.c7439 bpf_u_int32 hostmask; in gen_broadcast() local
7485 hostmask = ~cstate->netmask; in gen_broadcast()
7486 b1 = gen_mcmp(cstate, OR_LINKPL, 16, BPF_W, (bpf_int32)0, hostmask); in gen_broadcast()
7488 (bpf_int32)(~0 & hostmask), hostmask); in gen_broadcast()
/external/python/cpython3/Misc/
DHISTORY2390 - Issue #18805: the netmask/hostmask parsing in ipaddress now more reliably