⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

Module client

Module client 

Source
Expand description

CIFS/SMB2/3 Client Implementation

Implements SMB2/3 protocol with dialect negotiation, NTLM authentication, tree connect/disconnect, file create/read/write/close, directory queries, and message signing via HMAC-SHA256.

Structs§

NtlmAuth
NTLM authentication state machine.
SmbClient
SMB2/3 client.
SmbDirEntry
SMB2 directory entry.
SmbFileId
SMB2 file ID (persistent + volatile).
SmbHeader
SMB2/3 packet header (64 bytes).

Enums§

CreateDisposition
Create disposition values for SMB2 CREATE.
NtStatus
Common SMB/NT status codes.
SmbCommand
SMB2/3 command codes.
SmbDialect
Supported SMB protocol dialects.
SmbError
SMB client error type.

Constants§

DELETE
FILE_READ_ATTRIBUTES
FILE_READ_DATA
Desired access flags.
FILE_SHARE_DELETE
FILE_SHARE_READ
Share access flags.
FILE_SHARE_WRITE
FILE_WRITE_ATTRIBUTES
FILE_WRITE_DATA
GENERIC_READ
GENERIC_WRITE