tipc_link_create(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

ok so bestie, welcome to tipc_link_create(9) from the Kernel API Manual, section 9. this is the little function that literally births a link into existence and hands it back to you. main character energy fr fr. let's get into it πŸŽ€


✨ SYNOPSIS ✨

bool tipc_link_create (struct net *net , char *if_name , int bearer_id ,
int tolerance , char net_plane , u32 mtu , int priority , u32 min_win ,
u32 max_win , u32 session , u32 self , u32 peer , u8 *peer_id , u16
peer_caps , struct tipc_link *bc_sndlink , struct tipc_link *bc_rcvlink
, struct sk_buff_head *inputq , struct sk_buff_head *namedq , struct
tipc_link **link );

she takes a lot of arguments, i know, but every single one is doing her makeup for her okay, don't skip any πŸ”₯


🌸 ARGUMENTS 🌸

  • net β€” pointer to the associated network namespace. her whole world, basically πŸ¦‹
  • if_name β€” the associated interface name. it's giving "which network card are we vibing with" ✨
  • bearer_id β€” the id (index) of the associated bearer. yes it's an index, don't come for her πŸ’…
  • tolerance β€” the link tolerance this link is gonna use
  • net_plane β€” the network plane (A,B,c..) that this link belongs to. cute little letter, big responsibility 🌈
  • mtu β€” the mtu that the link will advertise. like her height on her profile, but for packets ⭐
  • priority β€” the priority this link gets to use
  • min_win β€” the minimal send window the link gets to use
  • max_win β€” the maximal send window the link gets to use. yes both, she contains multitudes πŸ’–
  • session β€” the session this link uses
  • self β€” the local unicast link id (that's her)
  • peer β€” the node id of the peer node (that's them)
  • peer_id β€” the 128-bit ID of the peer. one hundred and twenty eight whole bits, not me being obsessed 😭
  • peer_caps β€” a bitmap describing the peer node's capabilities. receipts, essentially
  • bc_sndlink β€” the namespace global link used for broadcast sending πŸ“‘
  • bc_rcvlink β€” the peer specific link used for broadcast reception (different link, don't mix them up bestie, i'm serious) πŸ™ˆ
  • inputq β€” the queue where you put messages that are ready for delivery
  • namedq β€” the queue where you put binding table update messages ready for delivery. separate queue for the binding table gossip, iykyk
  • link β€” the return value: a pointer where the created link gets put. she's an out-param and she's iconic πŸ‘‘

πŸ’€ RETURN πŸ’€

returns true if the link was created, otherwise false. that's it, that's the vibe check. πŸ“


🧚 SEE ALSO 🧚


ngl the whole link family is in there, so if tipc_link_create isn't answering your texts, one of her friends probably is πŸ’œ

ok that's the whole page bestie, go forth and create links responsibly 🫢

source/version: ./net/tipc Β· dated October 2026 Β· tipc_link_create(9) β€” mwah, that's a wrap πŸ’…βœ¨

πŸ“¦ where this page comes from