23 lines
558 B
Python
23 lines
558 B
Python
|
# This file is part of Scapy
|
||
|
# See http://www.secdev.org/projects/scapy for more information
|
||
|
# Copyright (C) Philippe Biondi <phil@secdev.org>
|
||
|
# This program is published under a GPLv2 license
|
||
|
|
||
|
"""
|
||
|
GPRS (General Packet Radio Service) for mobile data communication.
|
||
|
"""
|
||
|
|
||
|
from scapy.fields import StrStopField
|
||
|
from scapy.packet import Packet, bind_layers
|
||
|
from scapy.layers.inet import IP
|
||
|
|
||
|
|
||
|
class GPRS(Packet):
|
||
|
name = "GPRSdummy"
|
||
|
fields_desc = [
|
||
|
StrStopField("dummy", "", b"\x65\x00\x00", 1)
|
||
|
]
|
||
|
|
||
|
|
||
|
bind_layers(GPRS, IP,)
|