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

Class FileAlternateNameInformation

scapy/layers/smb2.py:448–452  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

446
447
448class FileAlternateNameInformation(Packet):
449 fields_desc = [
450 FieldLenField("FileNameLength", None, length_of="FileName", fmt="<I"),
451 StrLenFieldUtf16("FileName", b"", length_from=lambda pkt: pkt.FileNameLength),
452 ]
453
454
455# [MS-FSCC] 2.4.7 FileBasicInformation

Callers 1

Calls 2

FieldLenFieldClass · 0.90
StrLenFieldUtf16Class · 0.90

Tested by

no test coverage detected