smb2_is_sign_req(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… smb2_is_sign_req(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual β€” this one's smb2_is_sign_req(9), and honestly? lowkey iconic. it's a tiny little handler whose whole personality is checking whether a packet is signed. that's it. that's the job. slay. πŸŽ€


✨ NAME ✨

smb2_is_sign_req β€” the handler for checking packet signing status πŸ¦‹


✨ SYNOPSIS ✨

bool smb2_is_sign_req (struct ksmbd_work *work , unsigned int command );

like, it takes a ksmbd_work and a command id and hands you back a bool. simple. clean. no cap. ✨


✨ ARGUMENTS ✨

  • work β€” the smb work that's holding the notify command buffer 🫢
  • command β€” the SMB2 command id πŸ‘‘

✨ RETURN ✨

returns true if packed is signed, and false otherwise πŸ’–

ngl the original says "packed" β€” not my typo, I'm just the messenger 😭

✨ SEE ALSO ✨

so there's kind of a whole friend group here, and you're gonna meet all of them, because I'm not skipping a single one 🧚:

like I said. whole friend group. obsessed. πŸ”₯


okay that's the whole page bestie, go be a main character in ./fs/smb/server β€” shoutout to the October 2026 era of the Kernel API Manual, ily, bye πŸ’œπŸŒΈ

πŸ“¦ where this page comes from