Searched refs:saddr (Results 1 – 5 of 5) sorted by relevance
/kernel/tests/net/test/ |
D | tcp_fastopen_test.py | 54 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)
|
D | tcp_metrics.py | 120 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)
|
D | pf_key_test.py | 68 self.assertEquals(xfrm.PaddedAddress("192.0.2.1"), state4.saddr) 70 self.assertEquals(xfrm.PaddedAddress("2001:db8::1"), state6.saddr)
|
D | xfrm.py | 259 return XfrmSelector(saddr=PaddedAddress(src), daddr=PaddedAddress(dst), 299 saddr = XFRM_ADDR_ANY 303 saddr = PaddedAddress(tun_addrs[0]) 311 saddr=saddr,
|
D | xfrm_test.py | 112 saddr, sport = s.getsockname()[:2] 115 saddr = saddr.replace("::ffff:", "") 120 desc, pkt = packets.UDP(version, saddr, daddr, sport=sport)
|