Lines Matching refs:dstaddr
94 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)
136 s.sendto(UDP_PAYLOAD, (dstaddr, 53))
141 s.connect((dstaddr, 53))
146 def CheckRawGrePacket(self, version, netid, routing_mode, dstaddr): argument
159 s.sendto(packet, (dstaddr, IPPROTO_GRE))
160 desc, expected = packets.GRE(version, myaddr, dstaddr, ethertype, inner)
229 dstaddr = {4: self.IPV4_ADDR, 6: self.IPV6_ADDR}[version]
230 desc, expected = packets.UDP(version, unspec, dstaddr, sport)
237 s.connect((dstaddr, 53))
246 s.sendto(UDP_PAYLOAD, (dstaddr, 53))
327 dstaddr = self.GetRemoteAddress(version)
328 self.SendOnNetid(version, s, dstaddr, 53, netid, UDP_PAYLOAD, cmsgs)
333 desc, expected = packets.UDPWithOptions(version, srcaddr, dstaddr,
617 dstaddr = self.GetRandomDestination(self.IPv6Prefix(netid))
618 s.sendto(UDP_PAYLOAD, (dstaddr, 53))
623 desc, expected = packets.NS(myaddr, dstaddr, mymac)
630 _, reply = packets.NA(dstaddr, myaddr, tgtmac)
640 desc, expected = packets.UDP(6, myaddr, dstaddr, sport=sport)
693 def SendBigPacket(version, s, dstaddr, netid, payload): argument
697 self.SendOnNetid(version, s, dstaddr, 1234, netid, payload, [])
709 dstaddr = self.GetRandomDestination(dst_prefix)
712 s.connect((dstaddr, 1234))
717 SendBigPacket(version, s, dstaddr, netid, payload)
727 SendBigPacket, version, s, dstaddr, netid, payload)
741 s2.connect((dstaddr, 1234))
745 routes = self.iproute.GetRoutes(dstaddr, self.ifindices[netid], 0, None)