Lines Matching refs:scapy
29 from scapy import all as scapy unknown
80 layers = ["IP", "ICMP", scapy.ICMPv6EchoRequest]
97 src = packet.getlayer(scapy.IP).src
99 scapy.IP(src=self.INTERMEDIATE_IPV4, dst=src) /
100 scapy.ICMP(type=11, code=0) /
103 src = packet.getlayer(scapy.IPv6).src
105 scapy.IPv6(src=self.INTERMEDIATE_IPV6, dst=src) /
106 scapy.ICMPv6TimeExceeded(code=0) /
110 icmp = ip.getlayer(scapy.ICMP)
131 icmpv6 = ipv6.getlayer(scapy.ICMPv6EchoRequest)
163 packet = scapy.Ether(src=self._routermac, dst=self._mymac) / packet
180 ether = scapy.Ether(packet)
363 return (scapy.IP(src="192.0.2.1", dst="127.0.0.1") /
364 scapy.ICMP(type=3, code=0) /
365 scapy.IP(src="127.0.0.1", dst="127.0.0.1") /
366 scapy.ICMP(type=8, id=port, seq=1))
369 return (scapy.IPv6(src="::1", dst="::1") /
370 scapy.ICMPv6DestUnreach() /
371 scapy.IPv6(src="::1", dst="::1") /
372 scapy.ICMPv6EchoRequest(id=port, seq=1, data="foobarbaz"))
379 scapy.send(GetIPv6Unreachable(port))