tipc_crypto_key_distr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– tipc_crypto_key_distr(9) β€” from the Kernel API Manual, bestie πŸ’–

okay so sit down, grab a strawberry πŸ“, and let me tell you about the single most "I'm just gonna hand this key to everyone" function in the TIPC crypto world.


✨ NAME ✨

tipc_crypto_key_distr β€” it distributes a TX key. literally that's the whole vibe. it hands out a key. πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

int tipc_crypto_key_distr (struct tipc_crypto *tx , u8 key , struct
tipc_node *dest );

no cap, that's the exact shape of it β€” i did not touch a single character, you're welcome 🫢


🌸 ARGUMENTS 🌸

  • tx β€” the TX crypto. yeah. it's the crypto thing doing the transmitting. main character energy fr πŸ”₯
  • key β€” the key's index. like, which key. a u8, so keep it smol πŸŽ€
  • dest β€” the destination tipc node. and here's the iconic part: it's = NULL if you're distributing to all nodes. so NULL isn't "oops forgot it", it's "everybody gets one" πŸ’€πŸ‘‘

⭐ RETURN ⭐

0 in case of success, otherwise < 0. that's it. zero = slay, negative = 😭.


πŸ¦‹ SEE ALSO πŸ¦‹

okay this is the long part and no i'm not skipping any of it because every single one of these deserves its moment πŸ’œ the kernel file is ./net/tipc/crypto.c, and here's the whole friend group:

like, that's the whole group chat. go read them. iykyk 🌈


lowkey a little reminder: dest being NULL is a deliberate "all nodes" flag, so don't panic when you see it β€” it's giving intentional, not giving bug πŸ™ˆ

and that's the page!! sourced from ./net/tipc, dated October 2026, from your favorite kernel api manual. mwah, go distribute some keys responsibly πŸ’–βœ¨πŸŽ€πŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from