From cfba26632a33cced71af2605bb27dd35d90bd694 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 19 Mar 2019 23:03:56 +0100 Subject: [PATCH] Import all from scapy.all --- p4app/controller.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/p4app/controller.py b/p4app/controller.py index 13d3d36..d670500 100644 --- a/p4app/controller.py +++ b/p4app/controller.py @@ -6,12 +6,7 @@ import struct from p4utils.utils.topology import Topology from p4utils.utils.sswitch_API import SimpleSwitchAPI -from scapy.all import sniff, get_if_list, Ether, get_if_hwaddr, sendp -from scapy.all import IP, Raw, IPv6, TCP, TCP_client, Ether -from scapy.all import sniff -from scapy.all import Packet, BitField, IntEnumField, ShortField, XShortEnumField, ShortEnumField -from scapy.all import ICMPv6ND_NS, ICMPv6ND_RS, ICMPv6NDOptSrcLLAddr, ICMPv6ND_NS, ICMPv6ND_NA, ICMPv6NDOptDstLLAddr -from scapy.all import ICMPv6EchoRequest, ICMPv6EchoReply +from scapy.all import * from scapy.data import ETHER_TYPES import sys