Home
last modified time | relevance | path

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

/kernel/tests/net/test/
Dxfrm_algorithm_test.py241 remote_addr = self.GetRemoteSocketAddress(version)
261 dst=remote_addr,
273 src=remote_addr,
287 dst=remote_addr,
299 src=remote_addr,
348 self.assertEqual(remote_addr, peer[0])
365 self.assertEqual(remote_addr, peer[0])
396 sock_left.connect((remote_addr, right_port))
Dxfrm_test.py575 remote_addr = self.GetRemoteAddress(version)
609 input_pkt = (IpType(src=remote_addr, dst=local_addr) /
619 self.assertEqual((remote_addr, remote_port), addr[:2])
622 sock.sendto(b"output hello", (remote_addr, remote_port))
628 self.assertEqual(remote_addr, output_pkt.dst)
648 remote_addr = self.GetRemoteAddress(version)
652 local_addr, remote_addr, 0xABCD, xfrm.XFRM_MODE_TRANSPORT, 123,
657 remote_addr, local_addr, 0x9876, xfrm.XFRM_MODE_TRANSPORT, 456,
674 input_pkt = (IpType(src=remote_addr, dst=local_addr) /
683 self.assertEqual((remote_addr, remote_port), addr[:2])
[all …]
Diproute.py764 def CreateVirtualTunnelInterface(self, dev_name, local_addr, remote_addr, argument
791 family = AF_INET6 if ":" in remote_addr else AF_INET
801 remote_addr)
Dxfrm_tunnel_test.py280 def _VerifyVtiInfoData(self, vti_info_data, version, local_addr, remote_addr, argument
289 remote_addr)
299 remote_addr=_GetRemoteOuterAddress(version),
312 remote_addr=new_remote_addr[version],