Home
last modified time | relevance | path

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

/system/extras/tests/net_test/
Dpackets.py56 def UDP(version, srcaddr, dstaddr, sport=0): argument
62 ip(src=srcaddr, dst=dstaddr) /
65 def UDPWithOptions(version, srcaddr, dstaddr, sport=0): argument
67 packet = (scapy.IP(src=srcaddr, dst=dstaddr, ttl=39, tos=0x83) /
71 packet = (scapy.IPv6(src=srcaddr, dst=dstaddr,
77 def SYN(dport, version, srcaddr, dstaddr, sport=0, seq=TCP_SEQ): argument
82 ip(src=srcaddr, dst=dstaddr) /
87 def RST(version, srcaddr, dstaddr, packet): argument
92 ip(src=srcaddr, dst=dstaddr) /
97 def SYNACK(version, srcaddr, dstaddr, packet): argument
[all …]
Dmultinetwork_test.py94 def CheckPingPacket(self, version, netid, routing_mode, dstaddr, packet): argument
102 desc, expected = packets.ICMPEcho(version, myaddr, dstaddr)
106 s.sendto(packet + packets.PING_PAYLOAD, (dstaddr, 19321))
110 def CheckTCPSYNPacket(self, version, netid, routing_mode, dstaddr): argument
113 if version == 6 and dstaddr.startswith("::ffff"):
116 desc, expected = packets.SYN(53, version, myaddr, dstaddr,
120 self.assertRaisesErrno(errno.EINPROGRESS, s.connect, (dstaddr, 53))
126 def CheckUDPPacket(self, version, netid, routing_mode, dstaddr): argument
129 if version == 6 and dstaddr.startswith("::ffff"):
132 desc, expected = packets.UDP(version, myaddr, dstaddr, sport=None)
[all …]
Dneighbour_test.py143 def ReceiveUnicastAdvertisement(self, addr, mac, srcaddr=None, dstaddr=None, argument
148 if dstaddr is None:
149 dstaddr = self.MyLinkLocalAddress(self.netid)
153 scapy.IPv6(src=srcaddr, dst=dstaddr) /
288 dstaddr=self.MyAddress(6, self.netid),
Dmultinetwork_base.py459 def SendOnNetid(self, version, s, dstaddr, dstport, netid, payload, cmsgs): argument
466 csocket.Sendmsg(s, (dstaddr, dstport), payload, cmsgs, csocket.MSG_CONFIRM)
Dping6_test.py256 def CheckSockStatFile(self, name, srcaddr, srcport, dstaddr, dstport, state, argument
259 "%s:%04X" % (net_test.FormatSockStatAddress(dstaddr), dstport),