tipc_ehdr_build(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, welcome to tipc_ehdr_build(9) from the Kernel API Manual β€” this is the function that builds the TIPC encryption message header, and it’s lowkey iconic ✨

tipc_ehdr_build β€” Build TIPC encryption message header πŸ“¨


✨ SYNOPSIS ✨

here’s the signature, copied exactly because we do not vibe-edit types in this house 🫢

int tipc_ehdr_build (struct net *net , struct tipc_aead *aead , u8
tx_key , struct sk_buff *skb , struct tipc_crypto *__rx );

πŸŽ€ ARGUMENTS πŸŽ€

  • net β€” a struct net 🫢
  • aead β€” the TX AEAD key to be used for the message encryption, literally the key in charge πŸ”₯
  • tx_key β€” the key id used for the message encryption πŸ”‘
  • skb β€” the input/output message skb, it goes in and comes back out πŸŽ€
  • __rx β€” the RX crypto handle if the destination is "known" πŸ‘€

πŸ’€ RETURN πŸ’€

if the building is successful, you get the header size back; otherwise it’s < 0 😭


🌈 SEE ALSO 🌈

the kernel file is ./net/tipc/crypto.c, and the whole entourage is here:


kisses and good vibes from ./net/tipc, October 2026 β€” your fave kernel bestie is signing off πŸ’…πŸ’–

πŸ“¦ where this page comes from