STRUCT TIPC_CONN(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 β€” and struct 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