Home
last modified time | relevance | path

Searched refs:remote_port (Results 1 – 2 of 2) sorted by relevance

/kernel/tests/net/test/
Dxfrm_test.py497 remote_port = 5555
509 scapy.UDP(sport=remote_port, dport=local_port) /
518 self.assertEquals((remote_addr, remote_port), addr[:2])
521 sock.sendto("output hello", (remote_addr, remote_port))
528 self.assertEquals(remote_port, output_pkt[scapy.UDP].dport)
563 remote_port = 5555
573 scapy.UDP(sport=remote_port, dport=local_port) /
581 self.assertEquals((remote_addr, remote_port), addr[:2])
584 sock.sendto("output hello", (remote_addr, remote_port))
592 self.assertEquals(remote_port, output_pkt[scapy.UDP].dport)
Dxfrm_tunnel_test.py120 def _SendPacket(testInstance, netid, version, remote, remote_port): argument
125 write_sock.sendto(net_test.UDP_PAYLOAD, (remote, remote_port))