STRUCT IPOCTAL_STATS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 STRUCT IPOCTAL_STATS(9) 🌸

okay bestie, welcome to the Kernel API Manual page for struct ipoctal_stats β€” the little struct that's basically a receipts folder for your serial port. πŸ’…


✨ NAME ✨

struct ipoctal_stats β€” stats since last reset. that's it, that's the vibe. it's giving "counter dashboard" and honestly? iconic. πŸŽ€


πŸ”₯ SYNOPSIS πŸ”₯

here's the whole thing, copied with love and zero typos:

struct ipoctal_stats {
    unsigned long tx;
    unsigned long rx;
    unsigned long overrun_err;
    unsigned long parity_err;
    unsigned long framing_err;
    unsigned long rcv_break;
 };

look at her. six unsigned long fields. main character energy. 🫢


πŸ¦‹ Members πŸ¦‹

k so let's meet the cast, one by one, no skips, no cuts:

  • tx β€” number of transmitted bytes. this is the "sent" folder fr fr. πŸ“€
  • rx β€” number of received bytes. the "inbox" folder, we love a symmetrical queen. πŸ“₯
  • parity_err β€” number of parity errors. when the bits show up with the wrong vibe check. 😭
  • framing_err β€” number of framing errors. the message showed up but the framing was lowkey not framing. πŸ’€
  • rcv_break β€” number of break received. yes it's "break received", that's literally the wording on the page, we don't rewrite the ancestors' grammar, we respect them. 🌸
bestie heads up: overrun_err is right there in the struct β€” you can see her in the synopsis, she's not hiding β€” but this page doesn't give her her own Members blurb. so we're not gonna invent one. we simply note her presence and move on. 🧚

and remember, all of these count from the last reset. reset the stats, reset the whole era. ✨


πŸ‘‘ SEE ALSO πŸ‘‘

  • Kernel file ./drivers/ipack/devices/ipoctal.h β€” go read the header, it's the source of truth, iykyk. πŸ“

that's the page!! no cap, fully documented, all fields accounted for. stay slay and may your framing_err stay at zero. πŸ’œ

🌈 this came from ./drivers/ipack/devices, dated October 2026 β€” mwah, kisses, go touch some hardware 🌈
πŸ“¦ where this page comes from