MCPcopy Index your code
hub / github.com/secdev/scapy / FileStreamInformation

Class FileStreamInformation

scapy/layers/smb2.py:758–767  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

756
757
758class FileStreamInformation(Packet):
759 fields_desc = [
760 LEIntField("Next", 0),
761 FieldLenField("StreamNameLength", None, length_of="StreamName", fmt="<I"),
762 LELongField("StreamSize", 0),
763 LELongField("StreamAllocationSize", 4096),
764 StrLenFieldUtf16(
765 "StreamName", b"::$DATA", length_from=lambda pkt: pkt.StreamNameLength
766 ),
767 ]
768
769
770# [MS-DTYP] sect 2.4.1

Callers 1

Calls 4

LEIntFieldClass · 0.90
FieldLenFieldClass · 0.90
LELongFieldClass · 0.90
StrLenFieldUtf16Class · 0.90

Tested by

no test coverage detected