Home
last modified time | relevance | path

Searched refs:srcaddr (Results 1 – 3 of 3) 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.py196 def ReceiveUnicastAdvertisement(self, addr, mac, srcaddr=None, dstaddr=None, argument
199 if srcaddr is None:
200 srcaddr = addr
206 scapy.IPv6(src=srcaddr, dst=dstaddr) /
343 srcaddr=self._RouterAddress(self.netid, 6),
Dping6_test.py313 def CheckSockStatFile(self, name, srcaddr, srcport, dstaddr, dstport, state, argument
315 expected = ["%s:%04X" % (net_test.FormatSockStatAddress(srcaddr), srcport),