Searched refs:srcaddr (Results 1 – 4 of 4) sorted by relevance
/kernel/tests/net/test/ |
D | packets.py | 55 def UDP(version, srcaddr, dstaddr, sport=0): argument 61 ip(src=srcaddr, dst=dstaddr) / 64 def UDPWithOptions(version, srcaddr, dstaddr, sport=0): argument 66 packet = (scapy.IP(src=srcaddr, dst=dstaddr, ttl=39, tos=0x83) / 70 packet = (scapy.IPv6(src=srcaddr, dst=dstaddr, 76 def SYN(dport, version, srcaddr, dstaddr, sport=0, seq=-1): argument 83 ip(src=srcaddr, dst=dstaddr) / 88 def RST(version, srcaddr, dstaddr, packet): argument 93 ip(src=srcaddr, dst=dstaddr) / 98 def SYNACK(version, srcaddr, dstaddr, packet): argument [all …]
|
D | neighbour_test.py | 145 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),
|
D | multinetwork_test.py | 316 srcaddr = self.MyAddress(6, netid) 317 expected = (scapy.IPv6(src=srcaddr, dst=net_test.IPV6_ADDR, 355 srcaddr = self.MyAddress(version, netid) 357 desc, expected = packets.UDPWithOptions(version, srcaddr, dstaddr, 826 srcaddr = self.MyAddress(version, netid) 851 _, toobig = packets.ICMPPacketTooBig(version, intermediate, srcaddr,
|
D | ping6_test.py | 309 def CheckSockStatFile(self, name, srcaddr, srcport, dstaddr, dstport, state, argument 311 expected = ["%s:%04X" % (net_test.FormatSockStatAddress(srcaddr), srcport),
|