Home
last modified time | relevance | path

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

/kernel/tests/net/test/
Dpackets.py57 def UDP(version, srcaddr, dstaddr, sport=0): argument
63 ip(src=srcaddr, dst=dstaddr) /
66 def UDPWithOptions(version, srcaddr, dstaddr, sport=0, lifetime=39): argument
68 packet = (scapy.IP(src=srcaddr, dst=dstaddr, ttl=lifetime, tos=0x83) /
72 packet = (scapy.IPv6(src=srcaddr, dst=dstaddr,
78 def SYN(dport, version, srcaddr, dstaddr, sport=0, seq=-1): argument
85 ip(src=srcaddr, dst=dstaddr) /
90 def RST(version, srcaddr, dstaddr, packet): argument
95 ip(src=srcaddr, dst=dstaddr) /
101 def SYNACK(version, srcaddr, dstaddr, packet): argument
[all …]
Dmultinetwork_test.py66 dstaddr = self.GetRemoteAddress(version)
68 desc, expected = packets.ICMPEcho(version, myaddr, dstaddr)
80 dstaddr = self.GetRemoteAddress(version)
82 desc, expected = packets.SYN(53, version, myaddr, dstaddr,
97 dstaddr = self.GetRemoteAddress(version)
100 desc, expected = packets.UDP(version, myaddr, dstaddr, sport=None)
126 dstaddr = self.GetRemoteAddress(version)
128 s.sendto(packet, (dstaddr, IPPROTO_GRE))
129 desc, expected = packets.GRE(version, myaddr, dstaddr, ethertype, inner)
188 dstaddr = {4: self.IPV4_ADDR, 6: self.IPV6_ADDR}[version]
[all …]
Dneighbour_test.py145 def ReceiveUnicastAdvertisement(self, addr, mac, srcaddr=None, dstaddr=None, argument
150 if dstaddr is None:
151 dstaddr = self.MyLinkLocalAddress(self.netid)
155 scapy.IPv6(src=srcaddr, dst=dstaddr) /
289 dstaddr=self.MyAddress(6, self.netid),
Dmultinetwork_base.py522 def SendOnNetid(self, version, s, dstaddr, dstport, netid, payload, cmsgs): argument
529 csocket.Sendmsg(s, (dstaddr, dstport), payload, cmsgs, csocket.MSG_CONFIRM)
Dping6_test.py313 def CheckSockStatFile(self, name, srcaddr, srcport, dstaddr, dstport, state, argument
316 "%s:%04X" % (net_test.FormatSockStatAddress(dstaddr), dstport),
Dsock_diag_test.py580 dstaddr = self.GetRemoteAddress(version)
582 desc, expected = packets.SYN(53, version, myaddr, dstaddr,