Home
last modified time | relevance | path

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

/kernel/tests/net/test/
Dtcp_fastopen_test.py54 saddr = self.MyAddress(version, netid)
56 self.tcp_metrics.DelMetrics(saddr, daddr)
58 print(self.tcp_metrics.GetMetrics(saddr, daddr))
61 saddr = self.MyAddress(version, netid)
64 self.tcp_metrics.GetMetrics(saddr, daddr)
Dxfrm.py267 return XfrmSelector(saddr=PaddedAddress(src), daddr=PaddedAddress(dst),
307 saddr = XFRM_ADDR_ANY
311 saddr = PaddedAddress(tun_addrs[0])
319 saddr=saddr,
Dtcp_metrics.py120 def GetMetrics(self, saddr, daddr): argument
122 data = self._NlAttrSaddr(saddr) + self._NlAttrAddr(daddr)
128 def DelMetrics(self, saddr, daddr): argument
130 data = self._NlAttrSaddr(saddr) + self._NlAttrAddr(daddr)
Dxfrm_test.py112 saddr, sport = s.getsockname()[:2]
115 saddr = saddr.replace("::ffff:", "")
120 desc, pkt = packets.UDP(version, saddr, daddr, sport=sport)
Dpf_key_test.py68 self.assertEqual(xfrm.PaddedAddress("192.0.2.1"), state4.saddr)
70 self.assertEqual(xfrm.PaddedAddress("2001:db8::1"), state6.saddr)