tipc_ehdr_build(9)
π 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β astruct 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 messageskb, 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:
struct tipc_tfm(9)struct tipc_aead(9)struct tipc_crypto_stats(9)struct tipc_crypto(9)tipc_aead_key_validate(9)tipc_aead_key_generate(9)tipc_aead_free(9)tipc_aead_tfm_next(9)tipc_aead_init(9)tipc_aead_clone(9)tipc_aead_mem_alloc(9)tipc_aead_encrypt(9)tipc_aead_decrypt(9)tipc_ehdr_validate(9)tipc_crypto_key_init(9)tipc_crypto_key_attach(9)tipc_crypto_key_try_align(9)tipc_crypto_key_pick_tx(9)tipc_crypto_key_synch(9)tipc_crypto_xmit(9)tipc_crypto_rcv(9)tipc_crypto_msg_rcv(9)tipc_crypto_key_distr(9)tipc_crypto_key_xmit(9)tipc_crypto_key_rcv(9)tipc_crypto_work_rx(9)tipc_crypto_rekeying_sched(9)tipc_crypto_work_tx(9)
kisses and good vibes from ./net/tipc, October 2026 β your fave kernel bestie is signing off π
π
π¦ 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