tipc_msg_build(9)
π tipc_msg_build(9) π
okay so bestie, this page is from the Kernel API Manual, and it's all about tipc_msg_build β the function that creates a buffer chain containing the specified header and data. No cap.
β¨ NAME β¨
tipc_msg_build β create buffer chain containing specified header and data.
π SYNOPSIS π
int tipc_msg_build (struct tipc_msg *mhdr , struct msghdr *m , int
offset , int dsz , int pktmax , struct sk_buff_head *list );
π¦ ARGUMENTS π¦
mhdrβ the message header, to be prepended to data πmβ the user message π«Άoffsetβ buffer offset for fragmented messages (FIXME) π β yes, the original literally saysFIXME, bestie.dszβ total length of user data π₯pktmaxβ max packet size that can be used πlistβ buffer or chain of buffers to be returned to caller π
πΈ DESCRIPTION πΈ
not me making a recursive call π β but it's safe, bestie, because it can logically go only one further level down. periodt. β¨
β RETURN β
you get back the message data size or an errno: -ENOMEM, -EFAULT.
π§ SEE ALSO π§
- Kernel file
./net/tipc/msg.c tipc_buf_acquire(9)tipc_msg_append(9)tipc_msg_fragment(9)tipc_msg_bundle(9)tipc_msg_try_bundle(9)tipc_msg_extract(9)tipc_msg_reverse(9)tipc_msg_lookup_dest(9)
kisses from ./net/tipc, dated October 2026 β tipc_msg_build(9) 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