STRUCT IPOCTAL_STATS(9)
πΈ 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
- 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