[dts] [PATCH V1 1/3] framework/packet: use GTPPDUSessionContainer instead of GTP_PDUSession_ExtensionHeader
LihongX Ma
lihongx.ma at intel.com
Wed Oct 28 22:47:33 CET 2020
use the scapy module GTPPDUSessionContainer instead of local module
GTP_PDUSession_ExtensionHeader
Signed-off-by: LihongX Ma <lihongx.ma at intel.com>
---
framework/packet.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/framework/packet.py b/framework/packet.py
index 44b8e0e..dbc0058 100644
--- a/framework/packet.py
+++ b/framework/packet.py
@@ -51,7 +51,7 @@ sys.path.append(DEP_FOLDER + '/scapy_modules')
from utils import convert_ip2int
from utils import convert_int2ip
-scapy_modules_required = {'gtp': ['GTP_U_Header', 'GTP_PDUSession_ExtensionHeader'],
+scapy_modules_required = {'gtp': ['GTP_U_Header', 'GTPPDUSessionContainer'],
'lldp': ['LLDPDU', 'LLDPDUManagementAddress'], 'Dot1BR': ['Dot1BR'], 'pfcp': ['PFCP'],
'nsh': ['NSH'], 'igmp': ['IGMP'], 'mpls': ['MPLS'], 'sctp': ['SCTP', 'SCTPChunkData']}
local_modules = [m[:-3] for m in os.listdir(DEP_FOLDER + '/scapy_modules') if (m.endswith('.py') and not m.startswith('__'))]
--
2.7.4
More information about the dts
mailing list