Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.11/site-packages/scapy/layers/gprs.py: 89%

Shortcuts on this page

r m x   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

9 statements  

1# SPDX-License-Identifier: GPL-2.0-only 

2# This file is part of Scapy 

3# See https://scapy.net/ for more information 

4# Copyright (C) Philippe Biondi <phil@secdev.org> 

5 

6""" 

7GPRS (General Packet Radio Service) for mobile data communication. 

8""" 

9 

10from scapy.fields import StrStopField 

11from scapy.packet import Packet, bind_layers 

12from scapy.layers.inet import IP 

13 

14 

15class GPRS(Packet): 

16 name = "GPRSdummy" 

17 fields_desc = [ 

18 StrStopField("dummy", "", b"\x65\x00\x00", 1) 

19 ] 

20 

21 

22bind_layers(GPRS, IP,)