Searched refs:address (Results 1 – 3 of 3) sorted by relevance
/kernel/tests/net/test/ |
D | tcp_metrics.py | 91 def _NlAttrSaddr(self, address): argument 92 if ":" not in address: 98 return self._NlAttrIPAddress(nla_type, family, address) 100 def _NlAttrTcpMetricsAddr(self, address, is_source): argument 101 version = net_test.GetAddressVersion(address) 104 address = address.replace("::ffff:", "") 108 return self._NlAttrIPAddress(nla_type, family, address) 110 def _NlAttrAddr(self, address): argument 111 return self._NlAttrTcpMetricsAddr(address, False) 113 def _NlAttrSaddr(self, address): argument [all …]
|
D | net_test.py | 110 def GetAddressVersion(address): argument 111 if ":" not in address: 113 if address.startswith("::ffff"): 258 address = CanonicalizeIPv6Address(formatted) 259 return address 262 def FormatSockStatAddress(address): argument 263 if ":" in address: 267 binary = inet_pton(family, address) 276 for address in addresses: 277 address = [s for s in address.strip().split(" ") if s] [all …]
|
D | tcp_test.py | 50 address = {4: "0.0.0.0", 5: "::", 6: "::"}[version]
|