set_smb1_rsp_status(9)
π¦ set_smb1_rsp_status(9) π¦
welcome to the Kernel API Manual, bestie β this page is literally a tiny kernel function with main-character energy π . It's short, it's specific, and it does exactly one job: set the error type in the smb response header. No cap.
πΈ NAME πΈ
set_smb1_rsp_status - set error type in smb response header
okay so that's the whole name/description combo. We're setting the error type in the smb response header, and that's the vibe. π«Ά
β¨ SYNOPSIS β¨
void set_smb1_rsp_status (struct ksmbd_work *work , __le32 err );
the synopsis said void, so it returns nothing, and it takes work plus err. slay. β¨
π ARGUMENTS π
workβ smb work containing smb response headererrβ error code to set in response
two arguments, both iconic, both doing their little part π«Ά. The work one carries the smb work containing smb response header, and err is the error code to set in response. periodt π
π₯ SEE ALSO π₯
Kernel file: ./fs/smb/server/smb_common.c
ksmbd_verify_smb_message(9)ksmbd_smb_request(9)get_smb1_cmd_val(9)init_smb1_rsp_hdr(9)smb1_check_user_session(9)smb1_allocate_rsp_buf(9)ksmbd_extract_shortname(9)
go read these when you're in your kernel-coded era, iykyk β¨
made with π from the ./fs/smb/server corner of the universe, dated October 2026 β k bye bestie π«Ά
π¦ 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