MCPcopy Create free account
hub / github.com/secdev/scapy / ParticipantMessageDataPacket

Class ParticipantMessageDataPacket

scapy/contrib/rtps/rtps.py:149–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147
148
149class ParticipantMessageDataPacket(EPacket):
150 name = "Participant Message Data"
151 fields_desc = [
152 PacketField("guidPrefix", "", GUIDPrefixPacket),
153 XIntField("kind", 0),
154 EField(XIntField("sequenceSize", 0),
155 endianness_from=e_flags), # octets
156 StrLenField(
157 "serializedData",
158 "",
159 length_from=lambda x: x.sequenceSize * 4,
160 max_length=STR_MAX_LEN,
161 ),
162 ]
163
164
165class DataPacket(EPacket):

Callers

nothing calls this directly

Calls 4

PacketFieldClass · 0.90
XIntFieldClass · 0.90
EFieldClass · 0.90
StrLenFieldClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…