smb311_update_preauth_hash(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌈 smb311_update_preauth_hash(9) β€” Kernel API Manual 🌈

πŸ’– NAME πŸ’–

smb311_update_preauth_hash β€” update @ses hash with the packet data in @iov ✨

πŸŽ€ SYNOPSIS πŸŽ€

void smb311_update_preauth_hash (struct cifs_ses *ses , struct
       TCP_Server_Info *server , struct kvec *iov , int nvec );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • ses β€” server session structure, aka the session's little ID card πŸͺͺ
  • server β€” pointer to server info, the server's vibes dossier πŸ‘€
  • iov β€” array containing the SMB request we will send to the server πŸ“¦
  • nvec β€” number of array entries for the iov πŸ”’

🌸 DESCRIPTION 🌸

Okay so the whole vibe check here is very specific: this function assumes iov does not contain the rfc1002 length, and that iov[0] has the SMB2 header. That's the assumption, bestie β€” it's giving "the layout is already handled, don't worry about it" energy πŸ’…

No cap, that's the description. Short, sweet, and very particular about its iovec setup 🫢

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./fs/smb/client/smb2misc.c β€” go peek, iykyk πŸ‘€βœ¨


Final sign-off: ./fs/smb/client, October 2026, smb311_update_preauth_hash(9) 🫢✨

πŸ“¦ where this page comes from