smb311_update_preauth_hash(9)
π 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 theiovπ’
πΈ 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
- 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