diff --git a/scapy/layers/bluetooth.py b/scapy/layers/bluetooth.py index d2f9447f379d5a77954bbe540c4db75017710919..9dd60deda1f7d306fee771bed7d75d90e090a6b2 100644 --- a/scapy/layers/bluetooth.py +++ b/scapy/layers/bluetooth.py @@ -3,8 +3,7 @@ import socket,struct from scapy.config import conf from scapy.packet import * from scapy.fields import * -#from scapy.supersocket import SuperSocket -#from scapy.layers.l2 import CookedLinux +from scapy.supersocket import SuperSocket class HCI_Hdr(Packet): diff --git a/scapy/layers/gprs.py b/scapy/layers/gprs.py index 8686fcc1917a843d55b9b1bd0eadecc84d15e201..d1fbbfcf7daf90ca36fa9107bb3e533ee84359e3 100644 --- a/scapy/layers/gprs.py +++ b/scapy/layers/gprs.py @@ -1,3 +1,8 @@ + +from scapy.fields import * +from scapy.packet import * +from scapy.layers.inet import IP + class GPRS(Packet): name = "GPRSdummy" fields_desc = [ diff --git a/scapy/layers/hsrp.py b/scapy/layers/hsrp.py index b8b57fbdf3b08d5efee08aa6fa084f343fb7d8cf..8af7b963cfde8608840b4464166c06b31bfbb630 100644 --- a/scapy/layers/hsrp.py +++ b/scapy/layers/hsrp.py @@ -1,3 +1,7 @@ +from scapy.fields import * +from scapy.packet import * +from scapy.layers.inet import UDP + class HSRP(Packet): name = "HSRP" fields_desc = [ diff --git a/scapy/layers/inet.py b/scapy/layers/inet.py index d8b6d09908133ef7af2864808626ecf5da59dafa..860858f942f8766603176712136406e29492440b 100644 --- a/scapy/layers/inet.py +++ b/scapy/layers/inet.py @@ -3,6 +3,7 @@ from select import select from scapy.layers.l2 import * from scapy.fields import * +from scapy.packet import * from scapy.volatile import * from scapy.config import conf from scapy.sendrecv import sr,sr1 diff --git a/scapy/layers/mobileip.py b/scapy/layers/mobileip.py index a455525e68cd837f06e07f59b05d490b9d98d910..3eb7d8e359d952c70a6fc8e4a9f2c97d2b07cbac 100644 --- a/scapy/layers/mobileip.py +++ b/scapy/layers/mobileip.py @@ -1,3 +1,8 @@ +from scapy.fields import * +from scapy.packet import * +from scapy.layers.inet import IP,UDP + + class MobileIP(Packet): name = "Mobile IP (RFC3344)" fields_desc = [ ByteEnumField("type", 1, {1:"RRQ", 3:"RRP"}) ] diff --git a/scapy/layers/netflow.py b/scapy/layers/netflow.py index aa652e205def1f3d37356d0686bb009b3ab0d44d..9047ca535900b3aff485d11306acba1d42b6ab4b 100644 --- a/scapy/layers/netflow.py +++ b/scapy/layers/netflow.py @@ -1,3 +1,6 @@ +from scapy.fields import * +from scapy.packet import * + # Cisco Netflow Protocol version 1 class NetflowHeader(Packet): name = "Netflow Header" diff --git a/scapy/layers/sebek.py b/scapy/layers/sebek.py index a22138c18401a4dcc3164f4fa275ca0ddd7c1a7c..2028595e82dc990eb6ac9741b32c9aa09460fd14 100644 --- a/scapy/layers/sebek.py +++ b/scapy/layers/sebek.py @@ -1,3 +1,8 @@ +from scapy.fields import * +from scapy.packet import * +from scapy.layers.inet import UDP + + ### SEBEK