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

Class NRBFArrayOfValueWithCode

scapy/layers/ms_nrtp.py:452–464  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

450
451
452class NRBFArrayOfValueWithCode(Packet):
453 fields_desc = [
454 FieldLenField("Length", None, fmt="<I", count_of="ListOfValueWithCode"),
455 PacketListField(
456 "ListOfValueWithCode",
457 [],
458 NRBFValueWithCode,
459 count_from=lambda pkt: pkt.Length,
460 ),
461 ]
462
463 def default_payload_class(self, payload):
464 return conf.padding_layer
465
466
467# Generic record type

Callers 2

Calls 2

FieldLenFieldClass · 0.90
PacketListFieldClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…