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

Class IODControlRes

scapy/contrib/pnio_rpc.py:425–449  ·  view source on GitHub ↗

IODControl response block

Source from the content-addressed store, hash-verified

423
424
425class IODControlRes(Block):
426 """IODControl response block"""
427 fields_desc = [
428 BlockHeader,
429 StrFixedLenField("padding", "", length=2),
430 UUIDField("ARUUID", None),
431 ShortField("SessionKey", 0),
432 XShortField("AlarmSequenceNumber", 0),
433 # ControlCommand
434 BitField("ControlCommand_reserved", 0, 9),
435 BitField("ControlCommand_PrmBegin", 0, 1),
436 BitField("ControlCommand_ReadyForRT_CLASS_3", 0, 1),
437 BitField("ControlCommand_ReadyForCompanion", 0, 1),
438 BitField("ControlCommand_Done", 1, 1),
439 BitField("ControlCommand_Release", 0, 1),
440 BitField("ControlCommand_ApplicationReady", 0, 1),
441 BitField("ControlCommand_PrmEnd", 0, 1),
442 XShortField("ControlBlockProperties", 0)
443 ]
444
445 # default block_type value
446 block_type = 0x8110
447 # The block_type can be among 0x8110 to 0x8118 except 0x8115
448 # The right type is however determine by the type of the request
449 # (same type as the request + 0x8000)
450
451
452# IODWriteRe{q,s}

Callers 1

get_responseMethod · 0.85

Calls 5

StrFixedLenFieldClass · 0.90
UUIDFieldClass · 0.90
ShortFieldClass · 0.90
XShortFieldClass · 0.90
BitFieldClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…