STRUCT QRTR_NODE(9)
β¨ 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 ofqrtr_tx_flow, keyed bynode << 32 | port. yes the shift is real, write it down exactly like that πqrtr_tx_lockβ lock forqrtr_tx_flowinserts. 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:
struct qrtr_hdr_v1(9)struct qrtr_hdr_v2(9)struct qrtr_tx_flow(9)qrtr_tx_resume(9)qrtr_tx_wait(9)qrtr_tx_flow_failed(9)qrtr_endpoint_post(9)qrtr_alloc_ctrl_packet(9)qrtr_endpoint_register(9)qrtr_endpoint_unregister(9)
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 thestruct qrtr_node(9)page β mwah, no cap π
π¦ 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