STRUCT TIPC_DISCOVERER(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ STRUCT TIPC_DISCOVERER πŸ’…

okay bestie, so this one is struct tipc_discoverer β€” literally the little info bundle that tracks an ongoing link setup request. that's it, that's the whole vibe. it's a kernel struct, it lives in the API manual, and it's about to be your new obsession 🫢


✨ SYNOPSIS ✨

struct tipc_discoverer {
    u32 bearer_id;
    struct tipc_media_addr dest;
    struct net *net;
    u32 domain;
    int num_nodes;
    spinlock_t lock;
    struct sk_buff *skb;
    struct timer_list timer;
    unsigned long timer_intv;
    struct rcu_head rcu;
 };

like, look at her. ten fields. main character energy fr fr 🌸


πŸŽ€ MEMBERS πŸŽ€

  • bearer_id β€” the identity of the bearer that's issuing the requests πŸ‘‘ this is who's doing the asking, iykyk
  • dest β€” the destination address for the request messages πŸ“¬ where all the "hey, u up?" packets are headed
  • net β€” the network namespace instance πŸ¦‹ that's your whole network world right there
  • domain β€” the network domain where links can actually be established 🌈 like, the club that's accepting new members
  • num_nodes β€” the number of nodes currently discovered (i.e. the ones with an active link) πŸ”₯ literally counting your friends with active links, no cap
  • lock β€” a spinlock controlling access to requests πŸ”’ keeps everything from getting messy when multiple things wanna touch the requests at once
  • skb β€” the request message to be (repeatedly) sent πŸ’Œ your little love letter, delivered over and over and over
  • timer β€” the timer governing the period between requests ⏰ it's giving scheduled check-ins
  • timer_intv β€” the current interval between requests, in ms ⭐ yes ms, milliseconds, keep up bestie
  • rcu β€” the RCU head for deferred freeing 🧚 she's not gone, she's just being cleaned up later, periodt

πŸ’œ SEE ALSO πŸ’œ

so like, go read the kernel file ./net/tipc/discover.c and also these iconic functions while you're at it:

all literally right there, all part of ./net/tipc, all waiting for your attention πŸ’…


and that's the tea πŸ’– this page came from the Kernel API Manual, lives under ./net/tipc, and is dated October 2026 β€” so yeah, mark your calendar and slay β­πŸŽ€βœ¨

πŸ“¦ where this page comes from