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

Class IODWriteRes

scapy/contrib/pnio_rpc.py:484–502  ·  view source on GitHub ↗

IODWrite response block

Source from the content-addressed store, hash-verified

482
483
484class IODWriteRes(Block):
485 """IODWrite response block"""
486 fields_desc = [
487 BlockHeader,
488 ShortField("seqNum", 0),
489 UUIDField("ARUUID", None),
490 XIntField("API", 0),
491 XShortField("slotNumber", 0),
492 XShortField("subslotNumber", 0),
493 StrFixedLenField("padding", "", length=2),
494 XShortEnumField("index", 0, IOD_WRITE_REQ_INDEX),
495 LenField("recordDataLength", None, fmt="I"),
496 XShortField("additionalValue1", 0),
497 XShortField("additionalValue2", 0),
498 IntEnumField("status", 0, ["OK"]),
499 StrFixedLenField("RWPadding", "", length=16),
500 ]
501 # default block_type value
502 block_type = 0x8008
503
504
505# IODReadRe{q,s}

Callers 1

get_responseMethod · 0.85

Calls 8

ShortFieldClass · 0.90
UUIDFieldClass · 0.90
XIntFieldClass · 0.90
XShortFieldClass · 0.90
StrFixedLenFieldClass · 0.90
XShortEnumFieldClass · 0.90
LenFieldClass · 0.90
IntEnumFieldClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…