Skip to main content

Crate smb_server_proto_smb3

Crate smb_server_proto_smb3 

Source
Expand description

SMB2 wire structures ([MS-SMB2]).

Pass-2 scaffold. Planned modules against the spec stored at docs/protocol/smb2_3/MS-SMB2.pdf:

  • header: 64-byte SMB2 header (§2.2.1)
  • negotiate: §2.2.3 (dialects 2.0.2/2.1.0/3.x, capabilities, contexts)
  • session: SESSION_SETUP §2.2.5, LOGOFF §2.2.7
  • tree: TREE_CONNECT/CONNECTX/DISCONNECT §2.2.9–2.2.11
  • create/read/write/close/flush: §2.2.13–2.2.17
  • find/query/set info/dir: §2.2.33–2.2.37
  • credits: credit grant/charge accounting (§3.3.1.1)

Structs§

Header2
Fixed 64-byte SMB2 header (§2.2.1) — decoded view.

Enums§

Dialect
Known SMB2/3 dialect numbers (§2.2.3.1.1).

Constants§

SMB2_MAGIC
SMB2 header magic \xFESMB.