Skip to main content

error_resp

Function error_resp 

Source
pub(crate) fn error_resp() -> Vec<u8> 
Expand description

Build the generic ERROR response body ([MS-SMB2] §2.2.2): StructureSize 9 with no error data. Every failed command carries this so clients can parse the frame (a bare header breaks their compound parser). The body is padded to the structure’s declared 8-byte footprint.