Searched refs:srcaddr (Results 1 – 4 of 4) sorted by relevance
/kernel/tests/net/test/ |
D | packets.py | 57 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 …]
|
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 | 278 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,
|
D | ping6_test.py | 313 def CheckSockStatFile(self, name, srcaddr, srcport, dstaddr, dstport, state, argument 315 expected = ["%s:%04X" % (net_test.FormatSockStatAddress(srcaddr), srcport),
|