Home
last modified time | relevance | path

Searched refs:srcaddr (Results 1 – 4 of 4) 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 …]
Dneighbour_test.py145 def ReceiveUnicastAdvertisement(self, addr, mac, srcaddr=None, dstaddr=None, argument
148 if srcaddr is None:
149 srcaddr = addr
155 scapy.IPv6(src=srcaddr, dst=dstaddr) /
288 srcaddr=self._RouterAddress(self.netid, 6),
Dmultinetwork_test.py278 srcaddr = self.MyAddress(6, netid)
279 expected = (scapy.IPv6(src=srcaddr, dst=net_test.IPV6_ADDR,
321 srcaddr = self.MyAddress(version, netid)
323 desc, expected = packets.UDPWithOptions(version, srcaddr, dstaddr,
894 srcaddr = self.MyAddress(version, netid)
919 _, toobig = packets.ICMPPacketTooBig(version, intermediate, srcaddr,
Dping6_test.py313 def CheckSockStatFile(self, name, srcaddr, srcport, dstaddr, dstport, state, argument
315 expected = ["%s:%04X" % (net_test.FormatSockStatAddress(srcaddr), srcport),