tipc_get_gap_ack_blks(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 β€” the PROTOCOL/STATE_MSG header β€” 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