n_hdlc_send_frames(9)
π n_hdlc_send_frames β the Kernel API Manual (section 9, bestie) πΈ
okay so real talk, we're in Kernel API Manual territory, section 9, and today's main character is n_hdlc_send_frames. she's a function, she's a whole vibe, and she pushes frames out. let's get into it β¨
π NAME π
n_hdlc_send_frames β send frames on the pending send buffer list like it's her job (it literally is) π
β¨ SYNOPSIS β¨
void n_hdlc_send_frames (struct n_hdlc *n_hdlc , struct tty_struct *tty
);
no return value, she just does the thing. void queen π«Ά
π¦ ARGUMENTS π¦
n_hdlcβ pointer to the ldisc instance data, iykyk πttyβ pointer to the tty instance data, bestie fr fr πΈ
π₯ DESCRIPTION π₯
okay so here's the tea: n_hdlc_send_frames sends frames on the pending send buffer list until the driver does not accept a frame (busy). so basically she keeps going until the driver's like "nope, busy, not today" π and that's the stopping point, no cap.
and when does this function get called? two moments, bestie, both iconic π
- after adding a frame to the send buffer list π
- by the tty wakeup callback β
that's the whole flow. she shows up, she sends what she can, the driver says when. periodt. π
π SEE ALSO π
the whole friend group, all of them, no one left out π«Ά:
- Kernel file
./drivers/tty/n_hdlc.c struct n_hdlc(9)n_hdlc_tty_close(9)n_hdlc_tty_open(9)n_hdlc_tty_write_work(9)n_hdlc_tty_wakeup(9)n_hdlc_tty_receive(9)n_hdlc_tty_read(9)n_hdlc_tty_write(9)n_hdlc_tty_ioctl(9)n_hdlc_tty_poll(9)n_hdlc_alloc(9)n_hdlc_buf_return(9)n_hdlc_buf_put(9)n_hdlc_buf_get(9)
and that's the page, bestie! π this one lives under./drivers/tty, it's dated October 2026, and you can find her filed asn_hdlc_send_frames(9)β go off, manual page, you ate π₯ππ
π¦ 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