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

Class NRBFBinaryMethodReturn

scapy/layers/ms_nrtp.py:556–573  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

554
555
556class NRBFBinaryMethodReturn(NRBFRecord):
557 RecordTypeEnum = 22
558 fields_desc = [
559 NRBFRecord,
560 FlagsField("MessageEnum", 0, -32, _NRBF_MessageFlags),
561 ConditionalField(
562 PacketField("ReturnValue", NRBFValueWithCode(), NRBFValueWithCode),
563 lambda pkt: pkt.MessageEnum.ReturnValueInline,
564 ),
565 ConditionalField(
566 StringValueWithCode("CallContext"),
567 lambda pkt: pkt.MessageEnum.ContextInline,
568 ),
569 ConditionalField(
570 PacketField("Args", NRBFArrayOfValueWithCode(), NRBFArrayOfValueWithCode),
571 lambda pkt: pkt.MessageEnum.ArgsInline,
572 ),
573 ]
574
575
576# [MS-NRBF] sect 2.3 - Class Records

Callers

nothing calls this directly

Calls 5

FlagsFieldClass · 0.90
ConditionalFieldClass · 0.90
PacketFieldClass · 0.90
NRBFValueWithCodeClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…