get_smb1_cmd_val(9)
π get_smb1_cmd_val(9)
okay so this is a page from the Kernel API Manual, bestie β it's get_smb1_cmd_val(9) and it's honestly so straightforward you're gonna slay it β¨
πΈ NAME
get_smb1_cmd_val β grab the smb command value out of the smb header π
β¨ SYNOPSIS
u16 get_smb1_cmd_val (struct ksmbd_work *work );
π¦ ARGUMENTS
workβ the smb work that's holding the smb header. that's it, that's the whole vibe π«Ά
π RETURN
it gives you back the smb command value. literally the whole point, no cap π
π₯ SEE ALSO
kernel file ./fs/smb/server/smb_common.c β plus these iconic little functions, go check them out iykyk:
ksmbd_verify_smb_message(9)ksmbd_smb_request(9)init_smb1_rsp_hdr(9)smb1_check_user_session(9)smb1_allocate_rsp_buf(9)set_smb1_rsp_status(9)ksmbd_extract_shortname(9)
and that's the whole page, bestie, you ate that π
ok bye β this one lives in ./fs/smb/server, dated October 2026, and it's titled get_smb1_cmd_val(9) in case you forgot already π π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms