Skip to main content

build_response

Function build_response 

Source
pub fn build_response(
    fid: u16,
    action: u32,
    times: [FileTime; 4],
    attrs: u32,
    alloc: u64,
    eof: u64,
    is_dir: bool,
) -> Vec<u8> 
Expand description

Build the WC=34 success response ([MS-SMB] §2.2.4.9.2): oplock level, FID, create action, four FILETIMEs, attributes, allocation/EOF sizes.