STRUCT TIPC_BC_BASE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 carry SOCK_WAKEUP messages. 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 from rc_ratio; if dests > 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