Skip to main content

Crate smb_server_proto

Crate smb_server_proto 

Source
Expand description

Dialect-neutral SMB protocol primitives.

This crate hosts the pieces every SMB dialect shares: the [Wire] codec trait used by all on-wire structures, explicit-endian integer readers, NT status codes, FILETIME conversion and the byte-buffer helpers that implement SMB’s string/alignment rules.

Modules§

buf
Cursor-style buffer reader/writer implementing SMB string and alignment rules ([MS-CIFS] §2.2.1.1.1 string formats, [MS-SMB] §2.2.2 extensions).
endian
Explicit-endian integer reads/writes.
error
Protocol error type shared by all codecs.
types
Shared value types: NT status codes, FILETIME and attribute flags.
wire
Codec trait for on-wire structures.