Import all from scapy.all

This commit is contained in:
Nico Schottelius 2019-03-19 23:03:56 +01:00
parent 4c9573d8e0
commit cfba26632a

View file

@ -6,12 +6,7 @@ import struct
from p4utils.utils.topology import Topology from p4utils.utils.topology import Topology
from p4utils.utils.sswitch_API import SimpleSwitchAPI from p4utils.utils.sswitch_API import SimpleSwitchAPI
from scapy.all import sniff, get_if_list, Ether, get_if_hwaddr, sendp from scapy.all import *
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.data import ETHER_TYPES from scapy.data import ETHER_TYPES
import sys import sys