STRUCT TIPC_BC_BASE(9)
β¨ struct tipc_bc_base(9) β¨
okay so bestie, this is a page from the Kernel API Manual and it's literally all about struct tipc_bc_base β the base structure for keeping broadcast send state π
it's giving "the group chat's admin settings" energy, no cap.
πΈ SYNOPSIS πΈ
struct tipc_bc_base {
struct tipc_link *link;
struct sk_buff_head inputq;
int dests[MAX_BEARERS];
int primary_bearer;
bool bcast_support;
bool force_bcast;
bool rcast_support;
bool force_rcast;
int rc_ratio;
int bc_threshold;
};
like, that's the whole vibe right there π every field is a little main character, so let's meet them π«Ά
π Members π
linkβ the broadcast send link structure. this is the icon holding the whole send situation together β¨inputqβ the data input queue; it will only carrySOCK_WAKEUPmessages. lowkey exclusive, it's a VIP queue only πdestsβ an array keeping the number of reachable destinations per bearer. think of it as the headcount per bearer πprimary_bearerβ a bearer having links to all broadcast destinations, if any. the one that knows everybody π¦bcast_supportβ indicates if the primary bearer, if any, supports broadcast πforce_bcastβ forces broadcast for multicast traffic. no discussion, broadcast it is periodt π₯rcast_supportβ indicates if all peer nodes support replicast. a whole-cluster vibe check πforce_rcastβ forces replicast for multicast traffic. same energy, replicast edition πrc_ratioβ dest count as percentage of cluster size where the send method changes. this is the literal tipping point, the "we're switching things up" ratio π§bc_thresholdβ calculated fromrc_ratio; ifdests> threshold, use broadcast β so yeah, cross that line and broadcast takes over π
π SEE ALSO π
- Kernel file
./net/tipc/bcast.cβ go read it bestie, it's right there π
and that's the whole page fr fr π shoutout to ./net/tipc, dated October 2026, for being the source of this iconic little struct β mwah, slay, bye πβ¨π¦
π¦ 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