msgb_push_frame(9)
π msgb_push_frame β like, the Kernel API Manual page you didn't know you needed π
Okay so bestie, listen. This is msgb_push_frame(9) from the Kernel API Manual, and it's literally a one-function wonder. No cap.
β¨ NAME β¨
msgb_push_frame β pushes a SSH message frame header onto the buffer. That's the whole vibe. That's it. π«Ά
πΈ SYNOPSIS πΈ
void msgb_push_frame (struct msgbuf *msgb , u8 ty , u16 len , u8 seq );
Yes, the spacing is giving exactly that, and we're keeping it exactly like that, periodt. π
π¦ ARGUMENTS π¦
msgbβ the message buffer. The main character of this whole operation, honestly. πtyβ the type of the frame. It's au8, so keep it smol. β¨lenβ the length of the payload of the frame. It's au16β the payload's little size badge, if you will. πseqβ the sequence ID of the frame/packet. Gotta keep track of who's who, iykyk. π₯
Not me making a whole section for four arguments β but every single one of them matters, bestie. π
π SEE ALSO π
In the kernel file ./drivers/platform/surface/aggregator/ssh_msgb.h, you've got:
struct msgbuf(9)msgb_init(9)msgb_bytes_used(9)msgb_push_u16(9)msgb_push_syn(9)msgb_push_buf(9)msgb_push_crc(9)msgb_push_ack(9)msgb_push_nak(9)msgb_push_cmd(9)
Yeah, it's a whole friend group. Go say hi to all of them. π§π
Okay that's the whole page, slay, you're a kernel dev now. This iconic little number is ./drivers/platform/surface/agg..., dated October 2026, and it's msgb_push_frame(9) β catch you on the next manpage, bestie! πππ
π¦ 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