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)
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)
Dpf_key_test.py68 self.assertEquals(xfrm.PaddedAddress("192.0.2.1"), state4.saddr)
70 self.assertEquals(xfrm.PaddedAddress("2001:db8::1"), state6.saddr)
Dxfrm.py259 return XfrmSelector(saddr=PaddedAddress(src), daddr=PaddedAddress(dst),
299 saddr = XFRM_ADDR_ANY
303 saddr = PaddedAddress(tun_addrs[0])
311 saddr=saddr,
Dxfrm_test.py112 saddr, sport = s.getsockname()[:2]
115 saddr = saddr.replace("::ffff:", "")
120 desc, pkt = packets.UDP(version, saddr, daddr, sport=sport)