Home
last modified time | relevance | path

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

/system/extras/tests/net_test/
Dtcp_test.py71 return packets.RST(self.version, self.myaddr, self.remoteaddr,
78 remoteaddr = self.remoteaddr = self.GetRemoteAddress(version)
87 desc, syn = packets.SYN(self.port, version, remoteaddr, myaddr)
88 synack_desc, synack = packets.SYNACK(version, myaddr, remoteaddr, syn)
94 establishing_ack = packets.ACK(version, remoteaddr, myaddr, reply)[1]
106 desc, data = packets.ACK(version, myaddr, remoteaddr, establishing_ack,
111 desc, fin = packets.FIN(version, remoteaddr, myaddr, data)
113 ack_desc, ack = packets.ACK(version, myaddr, remoteaddr, fin)
Dforwarding_test.py53 remoteaddr = self.GetRemoteAddress(version)
56 desc, syn = packets.SYN(listenport, version, remoteaddr, myaddr)
57 synack_desc, synack = packets.SYNACK(version, myaddr, remoteaddr, syn)
61 establishing_ack = packets.ACK(version, remoteaddr, myaddr, reply)[1]
67 desc, fin = packets.FIN(version, myaddr, remoteaddr, establishing_ack)
70 desc, finack = packets.FIN(version, remoteaddr, myaddr, fin)
76 mydst = "%s:%04X" % (net_test.FormatSockStatAddress(remoteaddr), remoteport)
Dmultinetwork_test.py367 for netid, iif, ip_if, myaddr, remoteaddr in self.Combinations(version):
369 desc, packet = gen_packet(version, remoteaddr, myaddr)
379 reply_desc, reply = gen_reply(version, myaddr, remoteaddr, packet)
448 myaddr, remoteaddr, packet, reply, msg): argument
449 establishing_ack = packets.ACK(version, remoteaddr, myaddr, reply)[1]
465 desc, data = packets.ACK(version, myaddr, remoteaddr, establishing_ack,
472 ack = packets.ACK(version, remoteaddr, myaddr, data)[1]
493 desc, fin = packets.FIN(version, myaddr, remoteaddr, ack)
496 desc, finack = packets.FIN(version, remoteaddr, myaddr, fin)
502 desc, finackack = packets.ACK(version, myaddr, remoteaddr, finack)
[all …]
Dsock_diag_test.py372 self.assertEqual(self.sock_diag.PaddedAddress(self.remoteaddr),
532 remoteaddr = "::ffff:" + self.GetRemoteAddress(4)
535 remoteaddr = self.GetRemoteAddress(version)
539 s, lambda sock: sock.connect((remoteaddr, 53)), ECONNABORTED)
541 remoteaddr, sport=sport, seq=None)
Dmultinetwork_base.py619 remoteaddr = self.GetRemoteAddress(version)
624 combinations.append((netid, iif, ip_if, myaddr, remoteaddr))