send_udp(9)
π send_udp(9) β like, the Kernel API Manual era β¨
Okay bestie, welcome to send_udp(9) β a whole little kernel API manual page from Kernel API Manual, and honestly? She's short, she's sweet, and she's doing exactly one job. Let's get into it π
π¦ NAME π¦
send_udp β a wrapper for netpoll_send_udp that also counts errors, because someone has to keep receipts π
β¨ SYNOPSIS β¨
void send_udp (struct netconsole_target *nt , const char *msg , int len );
That's it. That's the whole signature. No cap π«Ά
π ARGUMENTS π
ntβ the target you're sending the message to, bestie. This is who gets the vibes π¨msgβ the actual message. The content. The main character πlenβ how longmsgis. Gotta know the size, always π
πΈ DESCRIPTION πΈ
So here's the tea, okay? send_udp calls netpoll_send_udp and then classifies the return value β like a vibe check on the result π
If an error happened, it increments the statistics in nt->stats accordingly. Errors get counted. She remembers everything. Iconic behavior tbh π
Heads up though: it only callsnetpoll_send_udpifCONFIG_NETCONSOLE_DYNAMICis disabled. So if that config is enabled? No call. That's just how it is, fr fr π«Ά
π₯ SEE ALSO π₯
- Kernel file
./drivers/net/netconsole.c struct netcons_userdata(9)struct netconsole_target(9)send_ext_msg_udp(9)netconsole_write(9)
Go read those next, iykyk π
omg and that's a wrap, bestie!! π§ This one lives in ./drivers/net and it's dated October 2026 β so yeah, mark your calendar, she's from the future π«π
π¦ 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