send_udp(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’Œ 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 long msg is. 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 calls netpoll_send_udp if CONFIG_NETCONSOLE_DYNAMIC is disabled. So if that config is enabled? No call. That's just how it is, fr fr 🫢

πŸ”₯ SEE ALSO πŸ”₯

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