tipc_get_gap_ack_blks(9)
π tipc_get_gap_ack_blks(9) β like, the Kernel API Manual page, bestie β¨
okay so this is a page from the Kernel API Manual, and honestly? it's a little one but she's important. we're talking about tipc_get_gap_ack_blks β the function that goes and grabs your Gap ACK blocks out of a PROTOCOL/STATE_MSG. yes she's niche. no we're not skipping her. π
πΈ NAME πΈ
tipc_get_gap_ack_blks β get Gap ACK blocks from PROTOCOL/STATE_MSG
like literally that's the whole job. get the Gap ACK blocks. from the PROTOCOL/STATE_MSG. iconic behaviour honestly π¦
β¨ SYNOPSIS β¨
u16 tipc_get_gap_ack_blks (struct tipc_gap_ack_blks **ga , struct
tipc_link *l , struct tipc_msg *hdr , bool uc );
four args, one u16 coming back out. chef's kiss π«Ά
π ARGUMENTS π
gaβ the returned pointer to the Gap ACK blocks, if any β note the "if any", she might come back empty bestie, don't be weird about it πlβ the tipc link, aka the link in question, the main character of this whole situation πhdrβ thePROTOCOL/STATE_MSGheader β this is where the blocks are hiding π΅οΈββοΈucβ the desired Gap ACK blocks type, i.e. unicast (= 1) or broadcast (= 0) β yes those are the values, yes you need to remember which is which, no I can't help you more than that π
β RETURN β
the total Gap ACK blocks size. that's it. that's the tea. u16 sized and slaying π
π SEE ALSO π
Kernel file ./net/tipc/link.c struct tipc_link(9), tipc_link_create(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_link_failover_prepare(9), tipc_link_reset_stats(9), tipc_link_dump(9)
ngl that's a lot of tipc link functions and they're all right there in ./net/tipc/link.c waiting for you. go read them. or don't. i'm not your mom. π
and that's the whole page bestie!! short, sweet, and served π
this one came straight out of ./net/tipc, dated October 2026 β go off, little kernel page, we love you fr fr π§πβ¨
π¦ 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