STRUCT QRTR_NODE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct qrtr_node(9) β€” endpoint node ✨

okay so this is a page from the Kernel API Manual, and it's literally about struct qrtr_node, which is the endpoint node struct. yes bestie, the whole page is one struct. she's iconic like that πŸ’…


🌸 NAME 🌸

struct qrtr_node β€” endpoint node


πŸŽ€ SYNOPSIS πŸŽ€

ok so here's the whole struct, copied exactly, no edits, i promise 🫢

struct qrtr_node {
    struct mutex ep_lock;
    struct qrtr_endpoint *ep;
    struct kref ref;
    unsigned int nid;
    struct xarray qrtr_tx_flow;
    struct mutex qrtr_tx_lock;
    bool hello_sent;
    struct sk_buff_head rx_queue;
    struct list_head item;
    struct delayed_work say_hello;
 };

πŸ’– Members πŸ’–

nine members, no skips, let's go 🌈

  • ep_lock β€” the lock for endpoint management and callbacks. she's guarding the ep situation, respect her 🫑
  • ep β€” the endpoint. that's it. that's the whole description, and honestly? valid.
  • ref β€” reference count for node. keep track of who's still holding on, bestie πŸ”₯
  • nid β€” node id. short name, big job πŸ’œ
  • qrtr_tx_flow β€” an xarray of qrtr_tx_flow, keyed by node << 32 | port. yes the shift is real, write it down exactly like that πŸ“
  • qrtr_tx_lock β€” lock for qrtr_tx_flow inserts. the bouncer at the insert door πŸšͺ
  • hello_sent β€” hello packet send successful. a bool that's just out here keeping receipts on whether the hello actually went through πŸŽ€
  • rx_queue β€” receive queue. the incoming mail pile πŸ“¬
  • item β€” list item for broadcast list. she's on the list, literally 🧚
  • say_hello β€” delayed work for sending hello packet. not me setting a whole delayed work just to say hi 😭 adorable

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./net/qrtr/af_qrtr.c, plus all her friends:

go read them, iykyk πŸ‘‘


and that's the page bestie, you ate that πŸ’…

sign-off szn: this was from ./net/qrtr, dated October 2026, and it's the struct qrtr_node(9) page β€” mwah, no cap πŸ’–
πŸ“¦ where this page comes from