Skip to main content

build_async_frame

Function build_async_frame 

Source
fn build_async_frame(
    session_id: u64,
    message_id: u64,
    async_id: u64,
    command: u16,
    status: Status,
    body: &[u8],
) -> Vec<u8> 
Expand description

Build an async-header frame ([MS-SMB2] §3.3.4.2 async mode): SERVER_TO_REDIR|ASYNC_COMMAND flags with the AsyncId occupying the Reserved+TreeId slot. Returned unsigned and unsealed.