STRUCT TIPC_CONN(9)
π NAME π
okay so bestie, welcome to struct tipc_conn(9) from the Kernel API Manual β this is the TIPC connection structure, and it's lowkey iconic π
β¨
πΈ SYNOPSIS πΈ
struct tipc_conn {
struct kref kref;
int conid;
struct socket *sock;
unsigned long flags;
struct tipc_topsrv *server;
struct list_head sub_list;
spinlock_t sub_lock;
struct work_struct rwork;
struct list_head outqueue;
spinlock_t outqueue_lock;
struct work_struct swork;
};
π«Ά Members π«Ά
krefβ the reference counter to the connection object, keeping track of who's still holding on πconidβ the connection identifier, aka its little name tag πsockβ the socket handler associated with connection, the socket bestie in question π¦flagsβ indicates connection state, so you know what vibe it's in βserverβ pointer to connected server, pointing right at the server it's connected to πsub_listβ list to all pertaining subscriptions, all the subscriptions doing their thing πsub_lockβ lock protecting the subscription list, no chaotic edits allowed πrworkβ receive work item, the receive-side task queued up πoutqueueβ pointer to first outbound message in queue, literally the queue's main character π₯outqueue_lockβ control access to the outqueue, gatekeeping the outbound queue πsworkβ send work item, the send-side task waiting for its moment β¨
π« SEE ALSO π«
- Kernel file
./net/tipc/topsrv.cβ andstruct tipc_topsrv(9)is right there too, bestie π
mwah π β source ./net/tipc, dated October 2026, page struct tipc_conn(9). slay and 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