is_smb2_neg_cmd(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ is_smb2_neg_cmd(9) πŸ¦‹

okay so welcome to the Kernel API Manual page for is_smb2_neg_cmd(9) β€” yes bestie, we're doing kernel SMB stuff and it's lowkey iconic. this whole page is one tiny vibe check, and we're keeping every single detail, fr fr πŸ’–


🌸 NAME 🌸

is_smb2_neg_cmd β€” is it smb2 negotiation command? literally the entire question, no cap πŸ’€


✨ SYNOPSIS ✨

bool is_smb2_neg_cmd (struct ksmbd_work *work );

πŸŽ€ ARGUMENTS πŸŽ€

  • work β€” smb work containing smb header. that's the struct you pass in, and it's carrying the smb header energy 🫢

πŸ”₯ RETURN πŸ”₯

returns true if it's an smb2 negotiation command, otherwise false. simple as that, bestie ✨


πŸ‘‘ SEE ALSO πŸ‘‘

okay so the SEE ALSO section is giving main-character energy because it's huge, but every single reference is here β€” no skipping, periodt πŸ’… also peep the Kernel file ./fs/smb/server/smb2pdu.c:


mwah πŸ’‹ this lil page lives at ./fs/smb/server, it's dated October 2026, and it's still the is_smb2_neg_cmd(9) page from the Kernel API Manual. byeee bestie 🫢✨

πŸ“¦ where this page comes from