Skip to main content

verify_channel_sequence

Function verify_channel_sequence 

Source
fn verify_channel_sequence(
    conn: &Smb2Conn,
    fid: &[u8; 16],
    channel_seq: u16,
    is_replay: bool,
) -> bool
Expand description

Verify the request’s ChannelSequence against the open’s ([MS-SMB2] §3.3.5.2.10), updating the open’s counters. Returns false when the caller must fail the WRITE/SET_INFO/IOCTL with STATUS_FILE_NOT_AVAILABLE. An open with no tracked state always passes.