STRUCT TIPC_BEARER(9)
π struct tipc_bearer(9) π
okay so bestie, welcome to the Kernel API Manual β we're talking about struct tipc_bearer, the generic TIPC bearer structure. it's giving "the blueprint for how TIPC actually gets out into the world" and honestly? iconic. let's get into it π
β¨ SYNOPSIS β¨
no cap, here's the whole thing exactly as it lives in the kernel:
struct tipc_bearer {
void *media_ptr;
u32 mtu;
struct tipc_media_addr addr;
char name[TIPC_MAX_BEARER_NAME];
struct tipc_media *media;
struct tipc_media_addr bcast_addr;
struct packet_type pt;
struct rcu_head rcu;
u32 priority;
u32 min_win;
u32 max_win;
u32 tolerance;
u32 domain;
u32 identity;
struct tipc_discoverer *disc;
char net_plane;
u16 encap_hlen;
unsigned long up;
refcount_t refcnt;
};
look at her. nineteen fields. main character energy fr fr π
πΈ Members πΈ
let's go field by field, bestie, no skipping, we're doing the whole tour π
media_ptrβ pointer to additional media-specific information about the bearer. extra lore, basically π¦mtuβ max packet size this bearer can support. keep it under this or it's not gonna fly β¨addrβ the media-specific address associated with the bearer. where the bearer lives, address-wise πnameβ the bearer name, and the format ismedia:interface(yes, exactly like that, with the colon π«Ά)mediaβ ptr to the media structure associated with the bearer. her partner in crime πbcast_addrβ the media address used in broadcasting. for when you need to yell at everyone π’ptβ packet type for the bearer πrcuβ rcu struct fortipc_bearer. the RCU bookkeeping, lowkey essential πpriorityβ default link priority for the bearer. β¨ priorities β¨min_winβ minimum window (in packets) before declaring link congestion π¦max_winβ maximum window (in packets) before declaring link congestion π§toleranceβ default link tolerance for the bearer π§domainβ the network domain to which links can be established πidentityβ array index of this bearer within the TIPC bearer array. she has a number, she has a slot π«discβ ptr to link setup request πnet_planeβ network plane ('A'through'H') currently associated with the bearer. yes, a single char, A to H, that's the whole range π °οΈencap_hlenβ encap headers length π¦upβ bearer up flag (bit 0) β¬οΈrefcntβtipc_bearerreference counter. the classic refcount, keeping her alive π«Ά
β Note β
okay so this part matters, don't skim it π β media-specific code is responsible for initializing the fields indicated below when a bearer is enabled, and TIPC's generic bearer code takes care of initializing all other fields. like, division of labour, bestie. everybody has their job π
π SEE ALSO π
- Kernel file
./net/tipc/bearer.h struct tipc_media_addr(9)struct tipc_media(9)
go read those too, iykyk π
π fr fr, that's the whole page, no gatekeeping, all nineteen fields accounted for.
and that's a wrap, bestie! this came from ./net/tipc, dated October 2026, and it's brought to you by the Kernel API Manual. slay, periodt, go read your structs πβ¨π
π¦ 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