| 1641 | |
| 1642 | |
| 1643 | class FileFsAttributeInformation(Packet): |
| 1644 | fields_desc = [ |
| 1645 | FlagsField( |
| 1646 | "FileSystemAttributes", |
| 1647 | 0x00C706FF, |
| 1648 | -32, |
| 1649 | { |
| 1650 | 0x02000000: "FILE_SUPPORTS_USN_JOURNAL", |
| 1651 | 0x01000000: "FILE_SUPPORTS_OPEN_BY_FILE_ID", |
| 1652 | 0x00800000: "FILE_SUPPORTS_EXTENDED_ATTRIBUTES", |
| 1653 | 0x00400000: "FILE_SUPPORTS_HARD_LINKS", |
| 1654 | 0x00200000: "FILE_SUPPORTS_TRANSACTIONS", |
| 1655 | 0x00100000: "FILE_SEQUENTIAL_WRITE_ONCE", |
| 1656 | 0x00080000: "FILE_READ_ONLY_VOLUME", |
| 1657 | 0x00040000: "FILE_NAMED_STREAMS", |
| 1658 | 0x00020000: "FILE_SUPPORTS_ENCRYPTION", |
| 1659 | 0x00010000: "FILE_SUPPORTS_OBJECT_IDS", |
| 1660 | 0x00008000: "FILE_VOLUME_IS_COMPRESSED", |
| 1661 | 0x00000100: "FILE_SUPPORTS_REMOTE_STORAGE", |
| 1662 | 0x00000080: "FILE_SUPPORTS_REPARSE_POINTS", |
| 1663 | 0x00000040: "FILE_SUPPORTS_SPARSE_FILES", |
| 1664 | 0x00000020: "FILE_VOLUME_QUOTAS", |
| 1665 | 0x00000010: "FILE_FILE_COMPRESSION", |
| 1666 | 0x00000008: "FILE_PERSISTENT_ACLS", |
| 1667 | 0x00000004: "FILE_UNICODE_ON_DISK", |
| 1668 | 0x00000002: "FILE_CASE_PRESERVED_NAMES", |
| 1669 | 0x00000001: "FILE_CASE_SENSITIVE_SEARCH", |
| 1670 | 0x04000000: "FILE_SUPPORT_INTEGRITY_STREAMS", |
| 1671 | 0x08000000: "FILE_SUPPORTS_BLOCK_REFCOUNTING", |
| 1672 | 0x10000000: "FILE_SUPPORTS_SPARSE_VDL", |
| 1673 | }, |
| 1674 | ), |
| 1675 | LEIntField("MaximumComponentNameLength", 255), |
| 1676 | FieldLenField( |
| 1677 | "FileSystemNameLength", None, length_of="FileSystemName", fmt="<I" |
| 1678 | ), |
| 1679 | StrLenFieldUtf16( |
| 1680 | "FileSystemName", b"NTFS", length_from=lambda pkt: pkt.FileSystemNameLength |
| 1681 | ), |
| 1682 | ] |
| 1683 | |
| 1684 | |
| 1685 | # [MS-FSCC] 2.5.8 FileFsSizeInformation |
no test coverage detected