tipc_link_create(9)
π« tipc_link_create β create a new link π«
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 usenet_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 usemin_winβ the minimal send window the link gets to usemax_winβ the maximal send window the link gets to use. yes both, she contains multitudes πsessionβ the session this link usesselfβ 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, essentiallybc_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 deliverynamedqβ the queue where you put binding table update messages ready for delivery. separate queue for the binding table gossip, iykyklinkβ 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 π§
- Kernel file
./net/tipc/link.cstruct tipc_link(9) tipc_link_bc_create(9)tipc_link_fsm_evt(9)tipc_link_too_silent(9)link_schedule_user(9)link_prepare_wakeup(9)tipc_link_set_skb_retransmit_time(9)tipc_link_xmit(9)link_retransmit_failure(9)tipc_get_gap_ack_blks(9)tipc_link_failover_prepare(9)tipc_link_reset_stats(9)tipc_link_dump(9)
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
- 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