Lines Matching refs:scapy
30 from scapy import all as scapy unknown
90 layers = ["IP", "ICMP", scapy.ICMPv6EchoRequest]
107 src = packet.getlayer(scapy.IP).src
109 scapy.IP(src=self.INTERMEDIATE_IPV4, dst=src) /
110 scapy.ICMP(type=11, code=0) /
113 src = packet.getlayer(scapy.IPv6).src
115 scapy.IPv6(src=self.INTERMEDIATE_IPV6, dst=src) /
116 scapy.ICMPv6TimeExceeded(code=0) /
120 src = packet.getlayer(scapy.IPv6).src
123 scapy.IPv6(src=self.INTERMEDIATE_IPV6, dst=src) /
124 scapy.ICMPv6PacketTooBig(mtu=self.LINK_MTU) /
128 icmp = ip.getlayer(scapy.ICMP)
149 icmpv6 = ipv6.getlayer(scapy.ICMPv6EchoRequest)
185 packet = scapy.Ether(src=self._routermac, dst=self._mymac) / packet
206 ether = scapy.Ether(packet)
395 return (scapy.IP(src="192.0.2.1", dst="127.0.0.1") /
396 scapy.ICMP(type=3, code=0) /
397 scapy.IP(src="127.0.0.1", dst="127.0.0.1") /
398 scapy.ICMP(type=8, id=port, seq=1))
401 return (scapy.IPv6(src="::1", dst="::1") /
402 scapy.ICMPv6DestUnreach() /
403 scapy.IPv6(src="::1", dst="::1") /
404 scapy.ICMPv6EchoRequest(id=port, seq=1, data="foobarbaz"))
411 scapy.send(GetIPv6Unreachable(port), verbose=False)