id
int64
0
328k
repository_name
stringlengths
7
58
file_path
stringlengths
9
302
class_name
stringlengths
5
256
human_written_code
stringlengths
16
2.16M
class_skeleton
stringlengths
18
1.49M
⌀
total_program_units
int64
1
1.76k
total_doc_str
int64
0
771
AvgCountLine
float64
0
7.89k
AvgCountLineBlank
float64
0
297
AvgCountLineCode
float64
0
7.89k
AvgCountLineComment
float64
0
7.89k
AvgCyclomatic
float64
0
130
CommentToCodeRatio
float64
0
168
CountClassBase
float64
0
40
CountClassCoupled
float64
0
583
CountClassCoupledModified
float64
0
575
CountClassDerived
float64
0
5.35k
CountDeclInstanceMethod
float64
0
529
CountDeclInstanceVariable
float64
0
296
CountDeclMethod
float64
0
599
CountDeclMethodAll
float64
0
1.12k
CountLine
float64
1
40.4k
CountLineBlank
float64
0
8.16k
CountLineCode
float64
1
25.7k
CountLineCodeDecl
float64
1
8.15k
CountLineCodeExe
float64
0
24.2k
CountLineComment
float64
0
16.5k
CountStmt
float64
1
9.71k
CountStmtDecl
float64
1
8.15k
CountStmtExe
float64
0
9.69k
MaxCyclomatic
float64
0
759
MaxInheritanceTree
float64
0
16
MaxNesting
float64
0
34
SumCyclomatic
float64
0
2.9k
27,200
secdev/scapy
secdev_scapy/scapy/contrib/ppi_geotag.py
scapy.contrib.ppi_geotag.HCSINullField
from scapy.fields import ByteField, ConditionalField, Field, FlagsField, LEIntField, LEShortEnumField, LEShortField, StrFixedLenField, UTCTimeField, XLEIntField, SignedByteField, XLEShortField class HCSINullField(Field): def __init__(self, name): Field.__init__(self, name, None, '!')
class HCSINullField(Field): def __init__(self, name): pass
2
0
2
0
2
0
1
0
1
0
0
0
1
0
1
33
3
0
3
2
1
0
3
2
1
1
4
0
1
27,201
secdev/scapy
secdev_scapy/scapy/contrib/ppi_geotag.py
scapy.contrib.ppi_geotag.HCSIPacket
import struct from scapy.layers.ppi import PPI_Hdr, PPI_Element class HCSIPacket(PPI_Element, metaclass=_Geotag_metaclass): def post_build(self, p, pay): if self.geotag_len is None: sl_g = struct.pack('<H', len(p)) p = p[:2] + sl_g + p[4:] p += pay return p
class HCSIPacket(PPI_Element, metaclass=_Geotag_metaclass): def post_build(self, p, pay): pass
2
0
6
0
6
0
2
0
2
0
0
4
1
0
1
123
7
0
7
3
5
0
7
3
5
2
5
1
2
27,202
secdev/scapy
secdev_scapy/scapy/contrib/ppi_geotag.py
scapy.contrib.ppi_geotag.LETimeField
from scapy.fields import ByteField, ConditionalField, Field, FlagsField, LEIntField, LEShortEnumField, LEShortField, StrFixedLenField, UTCTimeField, XLEIntField, SignedByteField, XLEShortField class LETimeField(UTCTimeField, LEIntField): __slots__ = ['epoch', 'delta', 'strf'] def __init__(self, name, default,...
class LETimeField(UTCTimeField, LEIntField): def __init__(self, name, default, epoch=None, strf='%a, %d %b %Y %H:%M:%S %z'): pass
2
0
4
0
4
0
1
0
2
0
0
1
1
0
1
37
7
1
6
4
3
0
5
3
3
1
5
0
1
27,203
secdev/scapy
secdev_scapy/scapy/contrib/ppi_geotag.py
scapy.contrib.ppi_geotag.NSCounter_Field
class NSCounter_Field(_RMMLEIntField): def __init__(self, name, default): _RMMLEIntField.__init__(self, name, default, 0, 2 ** 32, 0, (2 ** 32 - 1) / 1000000000.0, lambda x: x / 1000000000.0, lambda x: int(round(x * 1000000000.0)), '1.9f')
class NSCounter_Field(_RMMLEIntField): def __init__(self, name, default): pass
2
0
10
0
10
0
1
0
1
1
0
0
1
0
1
39
11
0
11
2
9
0
3
2
1
1
6
0
1
27,204
secdev/scapy
secdev_scapy/scapy/contrib/ppi_geotag.py
scapy.contrib.ppi_geotag.PPI_Geotag_Antenna
from scapy.fields import ByteField, ConditionalField, Field, FlagsField, LEIntField, LEShortEnumField, LEShortField, StrFixedLenField, UTCTimeField, XLEIntField, SignedByteField, XLEShortField class PPI_Geotag_Antenna(HCSIPacket): name = 'PPI Antenna' hcsi_fields = [FlagsField('AntennaFlags', None, -32, _hcsi_...
class PPI_Geotag_Antenna(HCSIPacket): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
123
13
0
13
3
12
0
3
3
2
0
6
0
0
27,205
secdev/scapy
secdev_scapy/scapy/contrib/ppi_geotag.py
scapy.contrib.ppi_geotag.PPI_Geotag_GPS
from scapy.fields import ByteField, ConditionalField, Field, FlagsField, LEIntField, LEShortEnumField, LEShortField, StrFixedLenField, UTCTimeField, XLEIntField, SignedByteField, XLEShortField class PPI_Geotag_GPS(HCSIPacket): name = 'PPI GPS' hcsi_fields = [FlagsField('GPSFlags', None, -32, _hcsi_gps_flags), ...
class PPI_Geotag_GPS(HCSIPacket): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
123
14
0
14
3
13
0
3
3
2
0
6
0
0
27,206
secdev/scapy
secdev_scapy/scapy/contrib/ppi_geotag.py
scapy.contrib.ppi_geotag.PPI_Geotag_Sensor
from scapy.fields import ByteField, ConditionalField, Field, FlagsField, LEIntField, LEShortEnumField, LEShortField, StrFixedLenField, UTCTimeField, XLEIntField, SignedByteField, XLEShortField class PPI_Geotag_Sensor(HCSIPacket): name = 'PPI Sensor' hcsi_fields = [LEShortEnumField('SensorType', None, sensor_ty...
class PPI_Geotag_Sensor(HCSIPacket): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
123
11
0
11
3
10
0
3
3
2
0
6
0
0
27,207
secdev/scapy
secdev_scapy/scapy/contrib/ppi_geotag.py
scapy.contrib.ppi_geotag.PPI_Geotag_Vector
from scapy.fields import ByteField, ConditionalField, Field, FlagsField, LEIntField, LEShortEnumField, LEShortField, StrFixedLenField, UTCTimeField, XLEIntField, SignedByteField, XLEShortField class PPI_Geotag_Vector(HCSIPacket): name = 'PPI Vector' hcsi_fields = [VectorFlags_Field('VectorFlags', None), FlagsF...
class PPI_Geotag_Vector(HCSIPacket): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
123
15
0
15
3
14
0
3
3
2
0
6
0
0
27,208
secdev/scapy
secdev_scapy/scapy/contrib/ppi_geotag.py
scapy.contrib.ppi_geotag.VectorFlags_Field
from scapy.fields import ByteField, ConditionalField, Field, FlagsField, LEIntField, LEShortEnumField, LEShortField, StrFixedLenField, UTCTimeField, XLEIntField, SignedByteField, XLEShortField class VectorFlags_Field(XLEIntField): """Represents the VectorFlags field. Handles the RelativeTo:sub-field""" _fwdstr...
class VectorFlags_Field(XLEIntField): '''Represents the VectorFlags field. Handles the RelativeTo:sub-field''' def i2repr(self, pkt, x): pass def any2i(self, pkt, x): pass
3
1
16
0
15
1
5
0.07
1
1
0
0
2
0
2
38
45
2
40
15
37
3
32
15
29
5
7
3
9
27,209
secdev/scapy
secdev_scapy/scapy/contrib/ppi_geotag.py
scapy.contrib.ppi_geotag._Geotag_metaclass
import functools from scapy.base_classes import Packet_metaclass from scapy.fields import ByteField, ConditionalField, Field, FlagsField, LEIntField, LEShortEnumField, LEShortField, StrFixedLenField, UTCTimeField, XLEIntField, SignedByteField, XLEShortField class _Geotag_metaclass(Packet_metaclass): def __new__(c...
class _Geotag_metaclass(Packet_metaclass): def __new__(cls, name, bases, dct): pass
2
0
27
6
19
2
4
0.1
1
6
2
1
1
0
1
17
28
6
20
7
18
2
14
7
12
4
3
2
4
27,210
secdev/scapy
secdev_scapy/scapy/contrib/ppi_geotag.py
scapy.contrib.ppi_geotag._RMMLEIntField
from scapy.error import warning from scapy.fields import ByteField, ConditionalField, Field, FlagsField, LEIntField, LEShortEnumField, LEShortField, StrFixedLenField, UTCTimeField, XLEIntField, SignedByteField, XLEShortField class _RMMLEIntField(LEIntField): __slots__ = ['min_i2h', 'max_i2h', 'lambda_i2h', 'min_h2...
class _RMMLEIntField(LEIntField): def __init__(self, name, default, _min, _max, _min2, _max2, _lmb, _lmb2, fmt, *args, **kargs): pass def i2h(self, pkt, x): pass def h2i(self, pkt, x): pass def i2m(self, pkt, x): '''Convert internal value to machine value''' ...
6
1
9
0
8
0
3
0.04
1
1
0
4
5
8
5
38
52
5
45
17
38
2
39
16
33
4
5
2
13
27,211
secdev/scapy
secdev_scapy/scapy/contrib/ripng.py
scapy.contrib.ripng.RIPng
from scapy.packet import Packet, bind_layers from scapy.fields import ByteEnumField, ByteField, IP6Field, ShortField class RIPng(Packet): name = 'RIPng header' fields_desc = [ByteEnumField('cmd', 1, {1: 'req', 2: 'resp'}), ByteField('ver', 1), ShortField('null', 0)]
class RIPng(Packet): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
119
7
0
7
3
6
0
3
3
2
0
4
0
0
27,212
secdev/scapy
secdev_scapy/scapy/contrib/ripng.py
scapy.contrib.ripng.RIPngEntry
from scapy.packet import Packet, bind_layers from scapy.fields import ByteEnumField, ByteField, IP6Field, ShortField class RIPngEntry(Packet): name = 'RIPng entry' fields_desc = [IP6Field('prefix_or_nh', '::'), ShortField('routetag', 0), ByteField('prefixlen', 0), ByteEnumField('metric', 1, {16: 'Unreach', 255...
class RIPngEntry(Packet): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
119
9
0
9
3
8
0
3
3
2
0
4
0
0
27,213
secdev/scapy
secdev_scapy/scapy/contrib/roce.py
scapy.contrib.roce.AETH
from scapy.fields import ByteEnumField, ByteField, XByteField, ShortField, XShortField, XLongField, BitField, XBitField, FCSField from scapy.packet import Packet, bind_layers, Raw class AETH(Packet): name = 'AETH' fields_desc = [XByteField('syndrome', 0), XBitField('msn', 0, 24)]
class AETH(Packet): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
119
6
0
6
3
5
0
3
3
2
0
4
0
0
27,214
secdev/scapy
secdev_scapy/scapy/contrib/roce.py
scapy.contrib.roce.BTH
from zlib import crc32 from scapy.compat import raw from scapy.layers.inet import IP, UDP from scapy.packet import Packet, bind_layers, Raw from scapy.layers.inet6 import IPv6 from scapy.error import warning from scapy.fields import ByteEnumField, ByteField, XByteField, ShortField, XShortField, XLongField, BitField, XB...
class BTH(Packet): @staticmethod def pack_icrc(icrc): pass def compute_icrc(self, p): pass def post_build(self, p, pay): pass
5
0
19
0
16
3
2
0.18
1
4
4
0
2
0
3
122
82
4
66
14
61
12
47
13
43
4
4
1
7
27,215
secdev/scapy
secdev_scapy/scapy/contrib/roce.py
scapy.contrib.roce.CNPPadding
from scapy.fields import ByteEnumField, ByteField, XByteField, ShortField, XShortField, XLongField, BitField, XBitField, FCSField from scapy.packet import Packet, bind_layers, Raw class CNPPadding(Packet): name = 'CNPPadding' fields_desc = [XLongField('reserved1', 0), XLongField('reserved2', 0)]
class CNPPadding(Packet): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
119
6
0
6
3
5
0
3
3
2
0
4
0
0
27,216
secdev/scapy
secdev_scapy/scapy/contrib/roce.py
scapy.contrib.roce.GRH
from scapy.packet import Packet, bind_layers, Raw from scapy.fields import ByteEnumField, ByteField, XByteField, ShortField, XShortField, XLongField, BitField, XBitField, FCSField class GRH(Packet): name = 'GRH' fields_desc = [BitField('ipver', 6, 4), BitField('tclass', 0, 8), BitField('flowlabel', 6, 20), Sho...
class GRH(Packet): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
119
12
0
12
3
11
0
3
3
2
0
4
0
0
27,217
secdev/scapy
secdev_scapy/scapy/contrib/rpl.py
scapy.contrib.rpl.RPLDAO
from scapy.fields import ByteEnumField, ByteField, IP6Field, ShortField, BitField, BitEnumField, FieldLenField, StrLenField, IntField, ConditionalField class RPLDAO(_RPLGuessMsgType, _RPLGuessOption): """ Control Message: Destination Advertisement Object (DAO) """ name = 'Destination Advertisement Obje...
class RPLDAO(_RPLGuessMsgType, _RPLGuessOption): ''' Control Message: Destination Advertisement Object (DAO) ''' pass
1
1
0
0
0
0
0
0.3
2
0
0
0
0
0
0
120
13
0
10
3
9
3
3
3
2
0
5
0
0
27,218
secdev/scapy
secdev_scapy/scapy/contrib/rpl.py
scapy.contrib.rpl.RPLDAOACK
from scapy.fields import ByteEnumField, ByteField, IP6Field, ShortField, BitField, BitEnumField, FieldLenField, StrLenField, IntField, ConditionalField class RPLDAOACK(_RPLGuessMsgType, _RPLGuessOption): """ Control Message: Destination Advertisement Object Acknowledgement (DAOACK) """ name = 'Destinat...
class RPLDAOACK(_RPLGuessMsgType, _RPLGuessOption): ''' Control Message: Destination Advertisement Object Acknowledgement (DAOACK) ''' pass
1
1
0
0
0
0
0
0.33
2
0
0
0
0
0
0
120
12
0
9
3
8
3
3
3
2
0
5
0
0
27,219
secdev/scapy
secdev_scapy/scapy/contrib/rpl.py
scapy.contrib.rpl.RPLDCO
from scapy.fields import ByteEnumField, ByteField, IP6Field, ShortField, BitField, BitEnumField, FieldLenField, StrLenField, IntField, ConditionalField class RPLDCO(_RPLGuessMsgType, _RPLGuessOption): """ Control Message: Destination Cleanup Object (DCO) """ name = 'Destination Cleanup Object' fiel...
class RPLDCO(_RPLGuessMsgType, _RPLGuessOption): ''' Control Message: Destination Cleanup Object (DCO) ''' pass
1
1
0
0
0
0
0
0.3
2
0
0
0
0
0
0
120
13
0
10
3
9
3
3
3
2
0
5
0
0
27,220
secdev/scapy
secdev_scapy/scapy/contrib/rpl.py
scapy.contrib.rpl.RPLDCOACK
from scapy.fields import ByteEnumField, ByteField, IP6Field, ShortField, BitField, BitEnumField, FieldLenField, StrLenField, IntField, ConditionalField class RPLDCOACK(_RPLGuessMsgType, _RPLGuessOption): """ Control Message: Destination Cleanup Object Acknowledgement (DCOACK) """ name = 'Destination Cl...
class RPLDCOACK(_RPLGuessMsgType, _RPLGuessOption): ''' Control Message: Destination Cleanup Object Acknowledgement (DCOACK) ''' pass
1
1
0
0
0
0
0
0.33
2
0
0
0
0
0
0
120
12
0
9
3
8
3
3
3
2
0
5
0
0
27,221
secdev/scapy
secdev_scapy/scapy/contrib/rpl.py
scapy.contrib.rpl.RPLDIO
from scapy.fields import ByteEnumField, ByteField, IP6Field, ShortField, BitField, BitEnumField, FieldLenField, StrLenField, IntField, ConditionalField class RPLDIO(_RPLGuessMsgType, _RPLGuessOption): """ Control Message: DODAG Information Object (DIO) """ name = 'DODAG Information Object' fields_d...
class RPLDIO(_RPLGuessMsgType, _RPLGuessOption): ''' Control Message: DODAG Information Object (DIO) ''' pass
1
1
0
0
0
0
0
0.23
2
0
0
0
0
0
0
120
16
0
13
3
12
3
3
3
2
0
5
0
0
27,222
secdev/scapy
secdev_scapy/scapy/contrib/rpl.py
scapy.contrib.rpl.RPLDIS
from scapy.fields import ByteEnumField, ByteField, IP6Field, ShortField, BitField, BitEnumField, FieldLenField, StrLenField, IntField, ConditionalField class RPLDIS(_RPLGuessMsgType, _RPLGuessOption): """ Control Message: DODAG Information Solicitation (DIS) """ name = 'DODAG Information Solicitation' ...
class RPLDIS(_RPLGuessMsgType, _RPLGuessOption): ''' Control Message: DODAG Information Solicitation (DIS) ''' pass
1
1
0
0
0
0
0
0.75
2
0
0
0
0
0
0
120
7
0
4
3
3
3
3
3
2
0
5
0
0
27,223
secdev/scapy
secdev_scapy/scapy/contrib/rpl.py
scapy.contrib.rpl.RPLOptDODAGConfig
from scapy.fields import ByteEnumField, ByteField, IP6Field, ShortField, BitField, BitEnumField, FieldLenField, StrLenField, IntField, ConditionalField class RPLOptDODAGConfig(_RPLGuessOption): """ Control Option: DODAG Configuration """ name = 'DODAG Configuration' fields_desc = [ByteEnumField('ot...
class RPLOptDODAGConfig(_RPLGuessOption): ''' Control Option: DODAG Configuration ''' pass
1
1
0
0
0
0
0
0.19
1
0
0
0
0
0
0
119
19
0
16
3
15
3
3
3
2
0
5
0
0
27,224
secdev/scapy
secdev_scapy/scapy/contrib/rpl.py
scapy.contrib.rpl.RPLOptPIO
from scapy.fields import ByteEnumField, ByteField, IP6Field, ShortField, BitField, BitEnumField, FieldLenField, StrLenField, IntField, ConditionalField class RPLOptPIO(_RPLGuessOption): """ Control Option: Prefix Information Option (PIO) """ name = 'Prefix Information' fields_desc = [ByteEnumField(...
class RPLOptPIO(_RPLGuessOption): ''' Control Option: Prefix Information Option (PIO) ''' pass
1
1
0
0
0
0
0
0.23
1
0
0
0
0
0
0
119
16
0
13
3
12
3
3
3
2
0
5
0
0
27,225
secdev/scapy
secdev_scapy/scapy/contrib/rpl.py
scapy.contrib.rpl.RPLOptPad1
from scapy.fields import ByteEnumField, ByteField, IP6Field, ShortField, BitField, BitEnumField, FieldLenField, StrLenField, IntField, ConditionalField class RPLOptPad1(_RPLGuessOption): """ Control Option: Pad 1 byte """ name = 'Pad1' fields_desc = [ByteEnumField('otype', 0, RPLOPTSSTR)]
class RPLOptPad1(_RPLGuessOption): ''' Control Option: Pad 1 byte ''' pass
1
1
0
0
0
0
0
1
1
0
0
0
0
0
0
119
6
0
3
3
2
3
3
3
2
0
5
0
0
27,226
secdev/scapy
secdev_scapy/scapy/contrib/rpl.py
scapy.contrib.rpl.RPLOptPadN
from scapy.fields import ByteEnumField, ByteField, IP6Field, ShortField, BitField, BitEnumField, FieldLenField, StrLenField, IntField, ConditionalField class RPLOptPadN(_RPLGuessOption): """ Control Option: Pad N bytes """ name = 'PadN' fields_desc = [ByteEnumField('otype', 1, RPLOPTSSTR), FieldLen...
class RPLOptPadN(_RPLGuessOption): ''' Control Option: Pad N bytes ''' pass
1
1
0
0
0
0
0
0.5
1
0
0
0
0
0
0
119
9
0
6
3
5
3
3
3
2
0
5
0
0
27,227
secdev/scapy
secdev_scapy/scapy/contrib/rpl.py
scapy.contrib.rpl.RPLOptRIO
from scapy.fields import ByteEnumField, ByteField, IP6Field, ShortField, BitField, BitEnumField, FieldLenField, StrLenField, IntField, ConditionalField from scapy.layers.inet6 import ICMPv6RPL, icmp6ndraprefs, _IP6PrefixField class RPLOptRIO(_RPLGuessOption): """ Control Option: Routing Information Option (RIO...
class RPLOptRIO(_RPLGuessOption): ''' Control Option: Routing Information Option (RIO) ''' pass
1
1
0
0
0
0
0
0.27
1
0
0
0
0
0
0
119
14
0
11
3
10
3
3
3
2
0
5
0
0
27,228
secdev/scapy
secdev_scapy/scapy/contrib/rpl.py
scapy.contrib.rpl.RPLOptSolInfo
from scapy.fields import ByteEnumField, ByteField, IP6Field, ShortField, BitField, BitEnumField, FieldLenField, StrLenField, IntField, ConditionalField class RPLOptSolInfo(_RPLGuessOption): """ Control Option: Solicited Information """ name = 'Solicited Information' fields_desc = [ByteEnumField('ot...
class RPLOptSolInfo(_RPLGuessOption): ''' Control Option: Solicited Information ''' pass
1
1
0
0
0
0
0
0.27
1
0
0
0
0
0
0
119
14
0
11
3
10
3
3
3
2
0
5
0
0
27,229
secdev/scapy
secdev_scapy/scapy/contrib/rpl.py
scapy.contrib.rpl.RPLOptTIO
from scapy.layers.inet6 import ICMPv6RPL, icmp6ndraprefs, _IP6PrefixField from scapy.fields import ByteEnumField, ByteField, IP6Field, ShortField, BitField, BitEnumField, FieldLenField, StrLenField, IntField, ConditionalField class RPLOptTIO(_RPLGuessOption): """ Control Option: Transit Information Option (TIO...
class RPLOptTIO(_RPLGuessOption): ''' Control Option: Transit Information Option (TIO) ''' pass
1
1
0
0
0
0
0
0.27
1
0
0
0
0
0
0
119
14
0
11
3
10
3
3
3
2
0
5
0
0
27,230
secdev/scapy
secdev_scapy/scapy/contrib/rpl.py
scapy.contrib.rpl.RPLOptTgt
from scapy.fields import ByteEnumField, ByteField, IP6Field, ShortField, BitField, BitEnumField, FieldLenField, StrLenField, IntField, ConditionalField from scapy.layers.inet6 import ICMPv6RPL, icmp6ndraprefs, _IP6PrefixField class RPLOptTgt(_RPLGuessOption): """ Control Option: RPL Target """ name = '...
class RPLOptTgt(_RPLGuessOption): ''' Control Option: RPL Target ''' pass
1
1
0
0
0
0
0
0.38
1
0
0
0
0
0
0
119
11
0
8
3
7
3
3
3
2
0
5
0
0
27,231
secdev/scapy
secdev_scapy/scapy/contrib/rpl.py
scapy.contrib.rpl.RPLOptTgtDesc
from scapy.fields import ByteEnumField, ByteField, IP6Field, ShortField, BitField, BitEnumField, FieldLenField, StrLenField, IntField, ConditionalField class RPLOptTgtDesc(_RPLGuessOption): """ Control Option: RPL Target Descriptor """ name = 'RPL Target Descriptor' fields_desc = [ByteEnumField('ot...
class RPLOptTgtDesc(_RPLGuessOption): ''' Control Option: RPL Target Descriptor ''' pass
1
1
0
0
0
0
0
0.6
1
0
0
0
0
0
0
119
8
0
5
3
4
3
3
3
2
0
5
0
0
27,232
secdev/scapy
secdev_scapy/scapy/contrib/rpl.py
scapy.contrib.rpl._RPLGuessMsgType
from scapy.packet import Packet, bind_layers class _RPLGuessMsgType(Packet): name = 'Dummy RPL Message class' def guess_payload_class(self, payload): if isinstance(payload, str): otype = ord(payload[0]) else: otype = payload[0] return RPLOPTS.get(otype)
class _RPLGuessMsgType(Packet): def guess_payload_class(self, payload): pass
2
0
6
0
6
0
2
0
1
1
0
6
1
0
1
120
9
1
8
4
6
0
7
4
5
2
4
1
2
27,233
secdev/scapy
secdev_scapy/scapy/contrib/rpl.py
scapy.contrib.rpl._RPLGuessOption
from scapy.packet import Packet, bind_layers class _RPLGuessOption(Packet): name = 'Dummy RPL Option class'
class _RPLGuessOption(Packet): pass
1
0
0
0
0
0
0
0
1
0
0
15
0
0
0
119
2
0
2
2
1
0
2
2
1
0
4
0
0
27,234
secdev/scapy
secdev_scapy/scapy/contrib/rpl_metrics.py
scapy.contrib.rpl_metrics.DAGMCObj
from scapy.fields import ByteEnumField, ByteField, ShortField, BitField, BitEnumField, FieldLenField, StrLenField, IntField import struct from scapy.packet import Packet class DAGMCObj(Packet): """ Set the length field in DAG Metric Constraint Control Option """ name = 'Dummy DAG MC Object' fields_...
class DAGMCObj(Packet): ''' Set the length field in DAG Metric Constraint Control Option ''' def post_build(self, pkt, pay): pass
2
1
7
0
7
0
2
0.22
1
0
0
8
1
0
1
120
23
1
18
5
16
4
10
5
8
2
4
1
2
27,235
secdev/scapy
secdev_scapy/scapy/contrib/rpl_metrics.py
scapy.contrib.rpl_metrics.DAGMCObjUnknown
from scapy.fields import ByteEnumField, ByteField, ShortField, BitField, BitEnumField, FieldLenField, StrLenField, IntField from scapy.packet import Packet from scapy.compat import orb class DAGMCObjUnknown(Packet): """ Dummy unknown metric/constraint """ name = 'Unknown DAGMC Object Option' fields...
class DAGMCObjUnknown(Packet): ''' Dummy unknown metric/constraint ''' @classmethod def dispatch_hook(cls, _pkt=None, *_, **kargs): ''' Dispatch hook for DAGMC sub-fields ''' pass
3
2
9
0
6
4
3
0.54
1
0
0
0
0
0
1
120
20
1
13
6
10
7
9
5
7
3
4
2
3
27,236
secdev/scapy
secdev_scapy/scapy/contrib/rpl_metrics.py
scapy.contrib.rpl_metrics.RPLDAGMCHopCount
from scapy.fields import ByteEnumField, ByteField, ShortField, BitField, BitEnumField, FieldLenField, StrLenField, IntField class RPLDAGMCHopCount(DAGMCObj): """ DAG Metric: Hop Count """ name = 'Hop Count' otype = 3 fields_desc = DAGMCObj.fields_desc + [BitField('res', 0, 4), BitField('flags',...
class RPLDAGMCHopCount(DAGMCObj): ''' DAG Metric: Hop Count ''' pass
1
1
0
0
0
0
0
0.63
1
0
0
0
0
0
0
120
13
0
8
4
7
5
4
4
3
0
5
0
0
27,237
secdev/scapy
secdev_scapy/scapy/contrib/rpl_metrics.py
scapy.contrib.rpl_metrics.RPLDAGMCLinkColor
from scapy.fields import ByteEnumField, ByteField, ShortField, BitField, BitEnumField, FieldLenField, StrLenField, IntField class RPLDAGMCLinkColor(DAGMCObj): """ DAG Metric: Link Color """ name = 'Link Color' otype = 8 fields_desc = DAGMCObj.fields_desc + [ByteField('res', 0), BitField('color'...
class RPLDAGMCLinkColor(DAGMCObj): ''' DAG Metric: Link Color ''' pass
1
1
0
0
0
0
0
0.63
1
0
0
0
0
0
0
120
13
0
8
4
7
5
4
4
3
0
5
0
0
27,238
secdev/scapy
secdev_scapy/scapy/contrib/rpl_metrics.py
scapy.contrib.rpl_metrics.RPLDAGMCLinkETX
from scapy.fields import ByteEnumField, ByteField, ShortField, BitField, BitEnumField, FieldLenField, StrLenField, IntField class RPLDAGMCLinkETX(DAGMCObj): """ DAG Metric: Link ETX """ name = 'Link ETX' otype = 7 fields_desc = DAGMCObj.fields_desc + [ShortField('ETX', 1)]
class RPLDAGMCLinkETX(DAGMCObj): ''' DAG Metric: Link ETX ''' pass
1
1
0
0
0
0
0
0.83
1
0
0
0
0
0
0
120
11
0
6
4
5
5
4
4
3
0
5
0
0
27,239
secdev/scapy
secdev_scapy/scapy/contrib/rpl_metrics.py
scapy.contrib.rpl_metrics.RPLDAGMCLinkLatency
from scapy.fields import ByteEnumField, ByteField, ShortField, BitField, BitEnumField, FieldLenField, StrLenField, IntField class RPLDAGMCLinkLatency(DAGMCObj): """ DAG Metric: Link Latency """ name = 'Link Latency' otype = 5 fields_desc = DAGMCObj.fields_desc + [IntField('Latency', 1)]
class RPLDAGMCLinkLatency(DAGMCObj): ''' DAG Metric: Link Latency ''' pass
1
1
0
0
0
0
0
0.83
1
0
0
0
0
0
0
120
11
0
6
4
5
5
4
4
3
0
5
0
0
27,240
secdev/scapy
secdev_scapy/scapy/contrib/rpl_metrics.py
scapy.contrib.rpl_metrics.RPLDAGMCLinkQualityLevel
from scapy.fields import ByteEnumField, ByteField, ShortField, BitField, BitEnumField, FieldLenField, StrLenField, IntField class RPLDAGMCLinkQualityLevel(DAGMCObj): """ DAG Metric: Link Quality Level (LQL) """ name = 'Link Quality Level' otype = 6 fields_desc = DAGMCObj.fields_desc + [ByteFiel...
class RPLDAGMCLinkQualityLevel(DAGMCObj): ''' DAG Metric: Link Quality Level (LQL) ''' pass
1
1
0
0
0
0
0
0.63
1
0
0
0
0
0
0
120
13
0
8
4
7
5
4
4
3
0
5
0
0
27,241
secdev/scapy
secdev_scapy/scapy/contrib/rpl_metrics.py
scapy.contrib.rpl_metrics.RPLDAGMCLinkThroughput
from scapy.fields import ByteEnumField, ByteField, ShortField, BitField, BitEnumField, FieldLenField, StrLenField, IntField class RPLDAGMCLinkThroughput(DAGMCObj): """ DAG Metric: Link Throughput """ name = 'Link Throughput' otype = 4 fields_desc = DAGMCObj.fields_desc + [IntField('Throughput',...
class RPLDAGMCLinkThroughput(DAGMCObj): ''' DAG Metric: Link Throughput ''' pass
1
1
0
0
0
0
0
0.83
1
0
0
0
0
0
0
120
11
0
6
4
5
5
4
4
3
0
5
0
0
27,242
secdev/scapy
secdev_scapy/scapy/contrib/rpl_metrics.py
scapy.contrib.rpl_metrics.RPLDAGMCNSA
from scapy.fields import ByteEnumField, ByteField, ShortField, BitField, BitEnumField, FieldLenField, StrLenField, IntField class RPLDAGMCNSA(DAGMCObj): """ DAG Metric: Node State and Attributes """ name = 'Node State and Attributes' otype = 1 fields_desc = DAGMCObj.fields_desc + [ByteField('re...
class RPLDAGMCNSA(DAGMCObj): ''' DAG Metric: Node State and Attributes ''' pass
1
1
0
0
0
0
0
0.78
1
0
0
0
0
0
0
120
14
0
9
4
8
7
4
4
3
0
5
0
0
27,243
secdev/scapy
secdev_scapy/scapy/contrib/rpl_metrics.py
scapy.contrib.rpl_metrics.RPLDAGMCNodeEnergy
from scapy.fields import ByteEnumField, ByteField, ShortField, BitField, BitEnumField, FieldLenField, StrLenField, IntField class RPLDAGMCNodeEnergy(DAGMCObj): """ DAG Metric: Node Energy """ name = 'Node Energy' otype = 2 fields_desc = DAGMCObj.fields_desc + [BitField('flags', 0, 4), BitField(...
class RPLDAGMCNodeEnergy(DAGMCObj): ''' DAG Metric: Node Energy ''' pass
1
1
0
0
0
0
0
0.5
1
0
0
0
0
0
0
120
15
0
10
4
9
5
4
4
3
0
5
0
0
27,244
secdev/scapy
secdev_scapy/scapy/contrib/rpl_metrics.py
scapy.contrib.rpl_metrics.RPLOptDAGMC
from scapy.contrib.rpl import RPLOPTSSTR, RPLOPTS from scapy.layers.inet6 import _PhantomAutoPadField, _OptionsField from scapy.fields import ByteEnumField, ByteField, ShortField, BitField, BitEnumField, FieldLenField, StrLenField, IntField class RPLOptDAGMC(_DAGMetricContainer): """ Control Option: DAG Metric...
class RPLOptDAGMC(_DAGMetricContainer): ''' Control Option: DAG Metric Container ''' pass
1
1
0
0
0
0
0
0.43
1
0
0
0
0
0
0
120
10
0
7
3
6
3
3
3
2
0
5
0
0
27,245
secdev/scapy
secdev_scapy/scapy/contrib/rpl_metrics.py
scapy.contrib.rpl_metrics._DAGMetricContainer
from scapy.packet import Packet import struct class _DAGMetricContainer(Packet): name = 'Dummy DAG Metric container' def post_build(self, pkt, pay): pkt += pay tmp_len = self.len if self.len is None: tmp_len = len(pkt) - 2 pkt = pkt[:1] + struct.pack('B', tmp_len) +...
class _DAGMetricContainer(Packet): def post_build(self, pkt, pay): pass
2
0
7
0
7
0
2
0
1
0
0
1
1
0
1
120
10
1
9
4
7
0
9
4
7
2
4
1
2
27,246
secdev/scapy
secdev_scapy/scapy/contrib/rsvp.py
scapy.contrib.rsvp.RSVP
from scapy.packet import Packet, bind_layers from scapy.compat import chb from scapy.fields import BitField, ByteEnumField, ByteField, FieldLenField, IPField, ShortField, StrLenField, XByteField, XShortField from scapy.layers.inet import IP, checksum class RSVP(Packet): name = 'RSVP' fields_desc = [BitField('V...
class RSVP(Packet): def post_build(self, p, pay): pass
2
0
10
0
10
0
3
0
1
0
0
0
1
0
1
120
20
1
19
7
17
0
13
7
11
3
4
1
3
27,247
secdev/scapy
secdev_scapy/scapy/contrib/rsvp.py
scapy.contrib.rsvp.RSVP_Data
from scapy.packet import Packet, bind_layers from scapy.fields import BitField, ByteEnumField, ByteField, FieldLenField, IPField, ShortField, StrLenField, XByteField, XShortField class RSVP_Data(Packet): name = 'Data' overload_fields = {RSVP_Object: {'Class': 1}} fields_desc = [StrLenField('Data', '', leng...
class RSVP_Data(Packet): def default_payload_class(self, payload): pass
2
0
2
0
2
0
1
0.17
1
1
1
0
1
0
1
120
7
1
6
5
4
1
6
5
4
1
4
0
1
27,248
secdev/scapy
secdev_scapy/scapy/contrib/rsvp.py
scapy.contrib.rsvp.RSVP_HOP
from scapy.packet import Packet, bind_layers from scapy.fields import BitField, ByteEnumField, ByteField, FieldLenField, IPField, ShortField, StrLenField, XByteField, XShortField class RSVP_HOP(Packet): name = 'HOP' overload_fields = {RSVP_Object: {'Class': 3}} fields_desc = [IPField('neighbor', '0.0.0.0')...
class RSVP_HOP(Packet): def default_payload_class(self, payload): pass
2
0
2
0
2
0
1
0
1
1
1
0
1
0
1
120
8
1
7
5
5
0
6
5
4
1
4
0
1
27,249
secdev/scapy
secdev_scapy/scapy/contrib/rsvp.py
scapy.contrib.rsvp.RSVP_LabelReq
from scapy.packet import Packet, bind_layers from scapy.fields import BitField, ByteEnumField, ByteField, FieldLenField, IPField, ShortField, StrLenField, XByteField, XShortField class RSVP_LabelReq(Packet): name = 'Label Req' overload_fields = {RSVP_Object: {'Class': 19}} fields_desc = [ShortField('reserv...
class RSVP_LabelReq(Packet): def default_payload_class(self, payload): pass
2
0
2
0
2
0
1
0
1
1
1
0
1
0
1
120
8
1
7
5
5
0
6
5
4
1
4
0
1
27,250
secdev/scapy
secdev_scapy/scapy/contrib/rsvp.py
scapy.contrib.rsvp.RSVP_Object
from scapy.packet import Packet, bind_layers from scapy.fields import BitField, ByteEnumField, ByteField, FieldLenField, IPField, ShortField, StrLenField, XByteField, XShortField class RSVP_Object(Packet): name = 'RSVP_Object' fields_desc = [ShortField('Length', 4), ByteEnumField('Class', 1, rsvptypes), ByteFi...
class RSVP_Object(Packet): def guess_payload_class(self, payload): pass
2
0
13
0
13
0
6
0
1
6
6
0
1
0
1
120
19
1
18
4
16
0
11
4
9
6
4
1
6
27,251
secdev/scapy
secdev_scapy/scapy/contrib/rsvp.py
scapy.contrib.rsvp.RSVP_SenderTSPEC
from scapy.fields import BitField, ByteEnumField, ByteField, FieldLenField, IPField, ShortField, StrLenField, XByteField, XShortField from scapy.packet import Packet, bind_layers class RSVP_SenderTSPEC(Packet): name = 'Sender_TSPEC' overload_fields = {RSVP_Object: {'Class': 12}} fields_desc = [ByteField('M...
class RSVP_SenderTSPEC(Packet): def default_payload_class(self, payload): pass
2
0
2
0
2
0
1
0.08
1
1
1
0
1
0
1
120
13
1
12
5
10
1
6
5
4
1
4
0
1
27,252
secdev/scapy
secdev_scapy/scapy/contrib/rsvp.py
scapy.contrib.rsvp.RSVP_SessionAttrb
from scapy.fields import BitField, ByteEnumField, ByteField, FieldLenField, IPField, ShortField, StrLenField, XByteField, XShortField from scapy.packet import Packet, bind_layers class RSVP_SessionAttrb(Packet): name = 'Session_Attribute' overload_fields = {RSVP_Object: {'Class': 207}} fields_desc = [ByteF...
class RSVP_SessionAttrb(Packet): def default_payload_class(self, payload): pass
2
0
2
0
2
0
1
0.09
1
1
1
0
1
0
1
120
12
1
11
5
9
1
6
5
4
1
4
0
1
27,253
secdev/scapy
secdev_scapy/scapy/contrib/rsvp.py
scapy.contrib.rsvp.RSVP_Time
from scapy.packet import Packet, bind_layers from scapy.fields import BitField, ByteEnumField, ByteField, FieldLenField, IPField, ShortField, StrLenField, XByteField, XShortField class RSVP_Time(Packet): name = 'Time Val' overload_fields = {RSVP_Object: {'Class': 5}} fields_desc = [BitField('refresh', 1, 3...
class RSVP_Time(Packet): def default_payload_class(self, payload): pass
2
0
2
0
2
0
1
0
1
1
1
0
1
0
1
120
7
1
6
5
4
0
6
5
4
1
4
0
1
27,254
secdev/scapy
secdev_scapy/scapy/contrib/rtcp.py
scapy.contrib.rtcp.RTCP
import struct from scapy.fields import BitField, BitFieldLenField, ByteEnumField, ByteField, ConditionalField, FieldLenField, IntField, LenField, LongField, PacketField, PacketListField, StrLenField, X3BytesField from scapy.packet import Packet class RTCP(Packet): name = 'RTCP' fields_desc = [BitField('version...
class RTCP(Packet): def post_build(self, pkt, pay): pass
2
0
5
0
5
0
2
0.09
1
0
0
0
1
0
1
120
37
2
32
4
30
3
8
4
6
2
4
1
2
27,255
secdev/scapy
secdev_scapy/scapy/contrib/rtcp.py
scapy.contrib.rtcp.ReceptionReport
from scapy.fields import BitField, BitFieldLenField, ByteEnumField, ByteField, ConditionalField, FieldLenField, IntField, LenField, LongField, PacketField, PacketListField, StrLenField, X3BytesField from scapy.packet import Packet class ReceptionReport(Packet): name = 'Reception report' fields_desc = [IntField...
class ReceptionReport(Packet): def extract_padding(self, p): pass
2
0
2
0
2
0
1
0
1
0
0
0
1
0
1
120
14
1
13
4
11
0
5
4
3
1
4
0
1
27,256
secdev/scapy
secdev_scapy/scapy/contrib/rtcp.py
scapy.contrib.rtcp.SDESChunk
from scapy.packet import Packet from scapy.fields import BitField, BitFieldLenField, ByteEnumField, ByteField, ConditionalField, FieldLenField, IntField, LenField, LongField, PacketField, PacketListField, StrLenField, X3BytesField class SDESChunk(Packet): name = 'SDES chunk' fields_desc = [IntField('sourcesync...
class SDESChunk(Packet): pass
1
0
0
0
0
0
0
0
1
1
1
0
0
0
0
119
11
0
11
3
10
0
3
3
2
0
4
0
0
27,257
secdev/scapy
secdev_scapy/scapy/contrib/rtcp.py
scapy.contrib.rtcp.SDESItem
from scapy.packet import Packet from scapy.fields import BitField, BitFieldLenField, ByteEnumField, ByteField, ConditionalField, FieldLenField, IntField, LenField, LongField, PacketField, PacketListField, StrLenField, X3BytesField class SDESItem(Packet): name = 'SDES item' fields_desc = [ByteEnumField('chunk_t...
class SDESItem(Packet): def extract_padding(self, p): pass
2
0
2
0
2
0
1
0
1
0
0
0
1
0
1
120
10
1
9
4
7
0
5
4
3
1
4
0
1
27,258
secdev/scapy
secdev_scapy/scapy/contrib/rtcp.py
scapy.contrib.rtcp.SenderInfo
from scapy.fields import BitField, BitFieldLenField, ByteEnumField, ByteField, ConditionalField, FieldLenField, IntField, LenField, LongField, PacketField, PacketListField, StrLenField, X3BytesField from scapy.packet import Packet class SenderInfo(Packet): name = 'Sender info' fields_desc = [LongField('ntp_tim...
class SenderInfo(Packet): def extract_padding(self, p): pass
2
0
2
0
2
0
1
0
1
0
0
0
1
0
1
120
11
1
10
4
8
0
5
4
3
1
4
0
1
27,259
secdev/scapy
secdev_scapy/scapy/contrib/rtps/common_types.py
scapy.contrib.rtps.common_types.DataPacketField
class DataPacketField(EPacketField): def m2i(self, pkt, m): self.set_endianness(pkt) pl_len = pkt.octetsToNextHeader - 24 _pkt = self.cls(m, endianness=self.endianness, writer_entity_id_key=pkt.writerEntityIdKey, writer_entity_id_kind=pkt.writerEntityIdKind, pl_len=pl_len) return _p...
class DataPacketField(EPacketField): def m2i(self, pkt, m): pass
2
0
12
1
11
0
1
0
1
0
0
0
1
1
1
51
13
1
12
5
10
0
6
4
4
1
9
0
1
27,260
secdev/scapy
secdev_scapy/scapy/contrib/rtps/common_types.py
scapy.contrib.rtps.common_types.EField
import struct from scapy.fields import _FieldContainer, BitField, ConditionalField, EnumField, ByteField, IntField, IPField, LEIntField, PacketField, PacketListField, ReversePadField, StrField, StrLenField, UUIDField, XIntField, XStrFixedLenField class EField(_FieldContainer): """ A field that manages endianne...
class EField(_FieldContainer): ''' A field that manages endianness of a nested field passed to the constructor ''' def __init__(self, fld, endianness=None, endianness_from=None): pass def set_endianness(self, pkt): pass def getfield(self, pkt, buf): pass def addf...
5
1
7
0
7
1
3
0.17
1
2
1
1
4
3
4
5
38
6
29
10
24
5
24
10
19
8
2
3
11
27,261
secdev/scapy
secdev_scapy/scapy/contrib/rtps/common_types.py
scapy.contrib.rtps.common_types.EPacket
from scapy.packet import Packet class EPacket(Packet): """A packet that manages its endianness""" __slots__ = ['endianness'] def __init__(self, *args, **kwargs): self.endianness = kwargs.pop('endianness', None) super(EPacket, self).__init__(*args, **kwargs) def clone_with(self, *args,...
class EPacket(Packet): '''A packet that manages its endianness''' def __init__(self, *args, **kwargs): pass def clone_with(self, *args, **kwargs): pass def extract_padding(self, p): pass
4
1
3
0
3
0
1
0.09
1
1
0
26
3
1
3
122
16
4
11
7
7
1
11
7
7
1
4
0
3
27,262
secdev/scapy
secdev_scapy/scapy/contrib/rtps/common_types.py
scapy.contrib.rtps.common_types.EPacketField
from scapy.fields import _FieldContainer, BitField, ConditionalField, EnumField, ByteField, IntField, IPField, LEIntField, PacketField, PacketListField, ReversePadField, StrField, StrLenField, UUIDField, XIntField, XStrFixedLenField class EPacketField(_EPacketField, PacketField): """ A PacketField that manages...
class EPacketField(_EPacketField, PacketField): ''' A PacketField that manages its endianness and that of its nested packet ''' pass
1
1
0
0
0
0
0
1.5
2
0
0
2
0
0
0
50
5
0
2
2
1
3
2
2
1
0
8
0
0
27,263
secdev/scapy
secdev_scapy/scapy/contrib/rtps/common_types.py
scapy.contrib.rtps.common_types.EPacketListField
from scapy.fields import _FieldContainer, BitField, ConditionalField, EnumField, ByteField, IntField, IPField, LEIntField, PacketField, PacketListField, ReversePadField, StrField, StrLenField, UUIDField, XIntField, XStrFixedLenField class EPacketListField(_EPacketField, PacketListField): """ A PacketListField ...
class EPacketListField(_EPacketField, PacketListField): ''' A PacketListField that manages its endianness and that of its nested packet ''' pass
1
1
0
0
0
0
0
2
2
0
0
0
0
0
0
54
6
0
2
2
1
4
2
2
1
0
7
0
0
27,264
secdev/scapy
secdev_scapy/scapy/contrib/rtps/common_types.py
scapy.contrib.rtps.common_types.EndpointFlagsPacket
from scapy.fields import _FieldContainer, BitField, ConditionalField, EnumField, ByteField, IntField, IPField, LEIntField, PacketField, PacketListField, ReversePadField, StrField, StrLenField, UUIDField, XIntField, XStrFixedLenField from scapy.packet import Packet class EndpointFlagsPacket(Packet): name = 'RTPS En...
class EndpointFlagsPacket(Packet): def extract_padding(self, p): pass
2
0
2
0
2
0
1
0
1
0
0
0
1
0
1
120
28
1
27
4
25
0
5
4
3
1
4
0
1
27,265
secdev/scapy
secdev_scapy/scapy/contrib/rtps/common_types.py
scapy.contrib.rtps.common_types.GUIDPacket
from scapy.packet import Packet from scapy.fields import _FieldContainer, BitField, ConditionalField, EnumField, ByteField, IntField, IPField, LEIntField, PacketField, PacketListField, ReversePadField, StrField, StrLenField, UUIDField, XIntField, XStrFixedLenField class GUIDPacket(Packet): name = 'RTPS GUID' f...
class GUIDPacket(Packet): def extract_padding(self, p): pass
2
0
2
0
2
0
1
0
1
0
0
0
1
0
1
120
11
1
10
4
8
0
5
4
3
1
4
0
1
27,266
secdev/scapy
secdev_scapy/scapy/contrib/rtps/common_types.py
scapy.contrib.rtps.common_types.InlineQoSPacketField
class InlineQoSPacketField(EPacketField): pass
class InlineQoSPacketField(EPacketField): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
50
2
0
2
1
1
0
2
1
1
0
9
0
0
27,267
secdev/scapy
secdev_scapy/scapy/contrib/rtps/common_types.py
scapy.contrib.rtps.common_types.LeaseDurationPacket
from scapy.packet import Packet from scapy.fields import _FieldContainer, BitField, ConditionalField, EnumField, ByteField, IntField, IPField, LEIntField, PacketField, PacketListField, ReversePadField, StrField, StrLenField, UUIDField, XIntField, XStrFixedLenField class LeaseDurationPacket(Packet): name = 'Lease D...
class LeaseDurationPacket(Packet): def extract_padding(self, p): pass
2
0
2
0
2
0
1
0
1
0
0
0
1
0
1
120
9
1
8
4
6
0
5
4
3
1
4
0
1
27,268
secdev/scapy
secdev_scapy/scapy/contrib/rtps/common_types.py
scapy.contrib.rtps.common_types.LocatorPacket
from scapy.fields import _FieldContainer, BitField, ConditionalField, EnumField, ByteField, IntField, IPField, LEIntField, PacketField, PacketListField, ReversePadField, StrField, StrLenField, UUIDField, XIntField, XStrFixedLenField class LocatorPacket(EPacket): name = 'RTPS Locator' fields_desc = [EField(XInt...
class LocatorPacket(EPacket): def extract_padding(self, p): pass
2
0
2
0
2
0
1
0
1
0
0
0
1
0
1
123
23
1
22
4
20
0
5
4
3
1
5
0
1
27,269
secdev/scapy
secdev_scapy/scapy/contrib/rtps/common_types.py
scapy.contrib.rtps.common_types.PIDPadField
from scapy.fields import _FieldContainer, BitField, ConditionalField, EnumField, ByteField, IntField, IPField, LEIntField, PacketField, PacketListField, ReversePadField, StrField, StrLenField, UUIDField, XIntField, XStrFixedLenField class PIDPadField(StrField): def getfield(self, pkt, s): len_pkt = 2 ...
class PIDPadField(StrField): def getfield(self, pkt, s): pass
2
0
3
0
3
1
1
0.25
1
0
0
0
1
0
1
41
4
0
4
3
2
1
4
3
2
1
6
0
1
27,270
secdev/scapy
secdev_scapy/scapy/contrib/rtps/common_types.py
scapy.contrib.rtps.common_types.ProductVersionPacket
from scapy.fields import _FieldContainer, BitField, ConditionalField, EnumField, ByteField, IntField, IPField, LEIntField, PacketField, PacketListField, ReversePadField, StrField, StrLenField, UUIDField, XIntField, XStrFixedLenField class ProductVersionPacket(EPacket): name = 'Product Version' fields_desc = [B...
class ProductVersionPacket(EPacket): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
122
8
0
8
3
7
0
3
3
2
0
5
0
0
27,271
secdev/scapy
secdev_scapy/scapy/contrib/rtps/common_types.py
scapy.contrib.rtps.common_types.ProtocolVersionPacket
from scapy.packet import Packet from scapy.fields import _FieldContainer, BitField, ConditionalField, EnumField, ByteField, IntField, IPField, LEIntField, PacketField, PacketListField, ReversePadField, StrField, StrLenField, UUIDField, XIntField, XStrFixedLenField class ProtocolVersionPacket(Packet): name = 'RTPS ...
class ProtocolVersionPacket(Packet): def extract_padding(self, p): pass
2
0
2
0
2
0
1
0
1
0
0
0
1
0
1
120
6
1
5
4
3
0
5
4
3
1
4
0
1
27,272
secdev/scapy
secdev_scapy/scapy/contrib/rtps/common_types.py
scapy.contrib.rtps.common_types.SerializedDataField
from scapy.fields import _FieldContainer, BitField, ConditionalField, EnumField, ByteField, IntField, IPField, LEIntField, PacketField, PacketListField, ReversePadField, StrField, StrLenField, UUIDField, XIntField, XStrFixedLenField class SerializedDataField(StrLenField): pass
class SerializedDataField(StrLenField): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
43
2
0
2
1
1
0
2
1
1
0
7
0
0
27,273
secdev/scapy
secdev_scapy/scapy/contrib/rtps/common_types.py
scapy.contrib.rtps.common_types.TransportInfoPacket
from scapy.fields import _FieldContainer, BitField, ConditionalField, EnumField, ByteField, IntField, IPField, LEIntField, PacketField, PacketListField, ReversePadField, StrField, StrLenField, UUIDField, XIntField, XStrFixedLenField class TransportInfoPacket(EPacket): name = 'Transport Info' fields_desc = [LEI...
class TransportInfoPacket(EPacket): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
122
6
0
6
3
5
0
3
3
2
0
5
0
0
27,274
secdev/scapy
secdev_scapy/scapy/contrib/rtps/common_types.py
scapy.contrib.rtps.common_types.VendorIdPacket
from scapy.packet import Packet from scapy.fields import _FieldContainer, BitField, ConditionalField, EnumField, ByteField, IntField, IPField, LEIntField, PacketField, PacketListField, ReversePadField, StrField, StrLenField, UUIDField, XIntField, XStrFixedLenField class VendorIdPacket(Packet): name = 'RTPS Vendor ...
class VendorIdPacket(Packet): def extract_padding(self, p): pass
2
0
2
0
2
0
1
0.18
1
0
0
0
1
0
1
120
14
1
11
4
9
2
5
4
3
1
4
0
1
27,275
secdev/scapy
secdev_scapy/scapy/contrib/rtps/common_types.py
scapy.contrib.rtps.common_types._EPacketField
class _EPacketField(object): """ A packet field that manages its endianness and that of its nested packet """ def __init__(self, *args, **kwargs): self.endianness = kwargs.pop('endianness', None) self.endianness_from = kwargs.pop('endianness_from', e_flags) super(_EPacketField, ...
class _EPacketField(object): ''' A packet field that manages its endianness and that of its nested packet ''' def __init__(self, *args, **kwargs): pass def set_endianness(self, pkt): pass def m2i(self, pkt, m): pass def i2m(self, pkt, m): pass
5
1
4
0
4
0
2
0.17
1
1
0
2
4
2
4
4
25
4
18
7
13
3
17
7
12
3
1
1
7
27,276
secdev/scapy
secdev_scapy/scapy/contrib/rtps/pid_types.py
scapy.contrib.rtps.pid_types.PIDPacketBase
from scapy.packet import Packet from scapy.contrib.rtps.common_types import STR_MAX_LEN, EField, EPacket, GUIDPacket, LeaseDurationPacket, LocatorPacket, ProductVersionPacket, ProtocolVersionPacket, TransportInfoPacket, VendorIdPacket, FORMAT_LE from scapy.fields import IntField, PacketField, PacketListField, ShortFiel...
class PIDPacketBase(Packet): def extract_padding(self, p): pass
2
0
2
0
2
0
1
0
1
0
0
64
1
0
1
120
23
1
22
4
20
0
5
4
3
1
4
0
1
27,277
secdev/scapy
secdev_scapy/scapy/contrib/rtps/pid_types.py
scapy.contrib.rtps.pid_types.PID_BUILTIN_ENDPOINT_QOS
class PID_BUILTIN_ENDPOINT_QOS(PIDPacketBase): name = 'PID_BUILTIN_ENDPOINT_QOS'
class PID_BUILTIN_ENDPOINT_QOS(PIDPacketBase): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
120
2
0
2
2
1
0
2
2
1
0
5
0
0
27,278
secdev/scapy
secdev_scapy/scapy/contrib/rtps/pid_types.py
scapy.contrib.rtps.pid_types.PID_BUILTIN_ENDPOINT_SET
class PID_BUILTIN_ENDPOINT_SET(PIDPacketBase): name = 'PID_BUILTIN_ENDPOINT_SET'
class PID_BUILTIN_ENDPOINT_SET(PIDPacketBase): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
120
2
0
2
2
1
0
2
2
1
0
5
0
0
27,279
secdev/scapy
secdev_scapy/scapy/contrib/rtps/pid_types.py
scapy.contrib.rtps.pid_types.PID_CONTENT_FILTER_PROPERTY
class PID_CONTENT_FILTER_PROPERTY(PIDPacketBase): name = 'PID_CONTENT_FILTER_PROPERTY'
class PID_CONTENT_FILTER_PROPERTY(PIDPacketBase): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
120
2
0
2
2
1
0
2
2
1
0
5
0
0
27,280
secdev/scapy
secdev_scapy/scapy/contrib/rtps/pid_types.py
scapy.contrib.rtps.pid_types.PID_DEADLINE
class PID_DEADLINE(PIDPacketBase): name = 'PID_DEADLINE'
class PID_DEADLINE(PIDPacketBase): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
120
2
0
2
2
1
0
2
2
1
0
5
0
0
27,281
secdev/scapy
secdev_scapy/scapy/contrib/rtps/pid_types.py
scapy.contrib.rtps.pid_types.PID_DEFAULT_MULTICAST_LOCATOR
from scapy.fields import IntField, PacketField, PacketListField, ShortField, StrLenField, XIntField, XShortField, XStrFixedLenField from scapy.contrib.rtps.common_types import STR_MAX_LEN, EField, EPacket, GUIDPacket, LeaseDurationPacket, LocatorPacket, ProductVersionPacket, ProtocolVersionPacket, TransportInfoPacket, ...
class PID_DEFAULT_MULTICAST_LOCATOR(PIDPacketBase): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
120
15
0
15
3
14
0
3
3
2
0
5
0
0
27,282
secdev/scapy
secdev_scapy/scapy/contrib/rtps/pid_types.py
scapy.contrib.rtps.pid_types.PID_DEFAULT_UNICAST_IPADDRESS
class PID_DEFAULT_UNICAST_IPADDRESS(PIDPacketBase): name = 'PID_DEFAULT_UNICAST_IPADDRESS'
class PID_DEFAULT_UNICAST_IPADDRESS(PIDPacketBase): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
120
2
0
2
2
1
0
2
2
1
0
5
0
0
27,283
secdev/scapy
secdev_scapy/scapy/contrib/rtps/pid_types.py
scapy.contrib.rtps.pid_types.PID_DEFAULT_UNICAST_LOCATOR
from scapy.fields import IntField, PacketField, PacketListField, ShortField, StrLenField, XIntField, XShortField, XStrFixedLenField from scapy.contrib.rtps.common_types import STR_MAX_LEN, EField, EPacket, GUIDPacket, LeaseDurationPacket, LocatorPacket, ProductVersionPacket, ProtocolVersionPacket, TransportInfoPacket, ...
class PID_DEFAULT_UNICAST_LOCATOR(PIDPacketBase): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
120
15
0
15
3
14
0
3
3
2
0
5
0
0
27,284
secdev/scapy
secdev_scapy/scapy/contrib/rtps/pid_types.py
scapy.contrib.rtps.pid_types.PID_DEFAULT_UNICAST_PORT
class PID_DEFAULT_UNICAST_PORT(PIDPacketBase): name = 'PID_DEFAULT_UNICAST_PORT'
class PID_DEFAULT_UNICAST_PORT(PIDPacketBase): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
120
2
0
2
2
1
0
2
2
1
0
5
0
0
27,285
secdev/scapy
secdev_scapy/scapy/contrib/rtps/pid_types.py
scapy.contrib.rtps.pid_types.PID_DESTINATION_ORDER
class PID_DESTINATION_ORDER(PIDPacketBase): name = 'PID_DESTINATION_ORDER'
class PID_DESTINATION_ORDER(PIDPacketBase): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
120
2
0
2
2
1
0
2
2
1
0
5
0
0
27,286
secdev/scapy
secdev_scapy/scapy/contrib/rtps/pid_types.py
scapy.contrib.rtps.pid_types.PID_DOMAIN_ID
class PID_DOMAIN_ID(PIDPacketBase): name = 'PID_DOMAIN_ID'
class PID_DOMAIN_ID(PIDPacketBase): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
120
2
0
2
2
1
0
2
2
1
0
5
0
0
27,287
secdev/scapy
secdev_scapy/scapy/contrib/rtps/pid_types.py
scapy.contrib.rtps.pid_types.PID_DOMAIN_TAG
class PID_DOMAIN_TAG(PIDPacketBase): name = 'PID_DOMAIN_TAG'
class PID_DOMAIN_TAG(PIDPacketBase): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
120
2
0
2
2
1
0
2
2
1
0
5
0
0
27,288
secdev/scapy
secdev_scapy/scapy/contrib/rtps/pid_types.py
scapy.contrib.rtps.pid_types.PID_DURABILITY
class PID_DURABILITY(PIDPacketBase): name = 'PID_DURABILITY'
class PID_DURABILITY(PIDPacketBase): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
120
2
0
2
2
1
0
2
2
1
0
5
0
0
27,289
secdev/scapy
secdev_scapy/scapy/contrib/rtps/pid_types.py
scapy.contrib.rtps.pid_types.PID_DURABILITY_SERVICE
class PID_DURABILITY_SERVICE(PIDPacketBase): name = 'PID_DURABILITY_SERVICE'
class PID_DURABILITY_SERVICE(PIDPacketBase): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
120
2
0
2
2
1
0
2
2
1
0
5
0
0
27,290
secdev/scapy
secdev_scapy/scapy/contrib/rtps/pid_types.py
scapy.contrib.rtps.pid_types.PID_ENDPOINT_GUID
from scapy.fields import IntField, PacketField, PacketListField, ShortField, StrLenField, XIntField, XShortField, XStrFixedLenField from scapy.contrib.rtps.common_types import STR_MAX_LEN, EField, EPacket, GUIDPacket, LeaseDurationPacket, LocatorPacket, ProductVersionPacket, ProtocolVersionPacket, TransportInfoPacket, ...
class PID_ENDPOINT_GUID(PIDPacketBase): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
120
15
0
15
3
14
0
3
3
2
0
5
0
0
27,291
secdev/scapy
secdev_scapy/scapy/contrib/rtps/pid_types.py
scapy.contrib.rtps.pid_types.PID_ENTITY_NAME
class PID_ENTITY_NAME(PIDPacketBase): name = 'PID_ENTITY_NAME'
class PID_ENTITY_NAME(PIDPacketBase): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
120
2
0
2
2
1
0
2
2
1
0
5
0
0
27,292
secdev/scapy
secdev_scapy/scapy/contrib/rtps/pid_types.py
scapy.contrib.rtps.pid_types.PID_EXPECTS_INLINE_QOS
class PID_EXPECTS_INLINE_QOS(PIDPacketBase): name = 'PID_EXPECTS_INLINE_QOS'
class PID_EXPECTS_INLINE_QOS(PIDPacketBase): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
120
2
0
2
2
1
0
2
2
1
0
5
0
0
27,293
secdev/scapy
secdev_scapy/scapy/contrib/rtps/pid_types.py
scapy.contrib.rtps.pid_types.PID_GROUP_DATA
class PID_GROUP_DATA(PIDPacketBase): name = 'PID_GROUP_DATA'
class PID_GROUP_DATA(PIDPacketBase): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
120
2
0
2
2
1
0
2
2
1
0
5
0
0
27,294
secdev/scapy
secdev_scapy/scapy/contrib/rtps/pid_types.py
scapy.contrib.rtps.pid_types.PID_GROUP_ENTITYID
class PID_GROUP_ENTITYID(PIDPacketBase): name = 'PID_GROUP_ENTITYID'
class PID_GROUP_ENTITYID(PIDPacketBase): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
120
2
0
2
2
1
0
2
2
1
0
5
0
0
27,295
secdev/scapy
secdev_scapy/scapy/contrib/rtps/pid_types.py
scapy.contrib.rtps.pid_types.PID_GROUP_GUID
class PID_GROUP_GUID(PIDPacketBase): name = 'PID_GROUP_GUID'
class PID_GROUP_GUID(PIDPacketBase): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
120
2
0
2
2
1
0
2
2
1
0
5
0
0
27,296
secdev/scapy
secdev_scapy/scapy/contrib/rtps/pid_types.py
scapy.contrib.rtps.pid_types.PID_HISTORY
class PID_HISTORY(PIDPacketBase): name = 'PID_HISTORY'
class PID_HISTORY(PIDPacketBase): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
120
2
0
2
2
1
0
2
2
1
0
5
0
0
27,297
secdev/scapy
secdev_scapy/scapy/contrib/rtps/pid_types.py
scapy.contrib.rtps.pid_types.PID_KEY_HASH
class PID_KEY_HASH(PIDPacketBase): name = 'PID_KEY_HASH'
class PID_KEY_HASH(PIDPacketBase): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
120
2
0
2
2
1
0
2
2
1
0
5
0
0
27,298
secdev/scapy
secdev_scapy/scapy/contrib/rtps/pid_types.py
scapy.contrib.rtps.pid_types.PID_LATENCY_BUDGET
class PID_LATENCY_BUDGET(PIDPacketBase): name = 'PID_LATENCY_BUDGET'
class PID_LATENCY_BUDGET(PIDPacketBase): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
120
2
0
2
2
1
0
2
2
1
0
5
0
0
27,299
secdev/scapy
secdev_scapy/scapy/contrib/rtps/pid_types.py
scapy.contrib.rtps.pid_types.PID_LIFESPAN
class PID_LIFESPAN(PIDPacketBase): name = 'PID_LIFESPAN'
class PID_LIFESPAN(PIDPacketBase): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
120
2
0
2
2
1
0
2
2
1
0
5
0
0