Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/
Dssl.py240 def _inet_paton(ipname): argument
247 if ipname.count('.') == 3:
249 return _socket.inet_aton(ipname)
254 return _socket.inet_pton(_socket.AF_INET6, ipname)
257 "address.".format(ipname))
262 raise ValueError("{!r} is not an IPv4 address.".format(ipname))
265 def _ipaddress_match(ipname, host_ip): argument
272 ip = _inet_paton(ipname.rstrip())