xcan_start_xmit_mailbox(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’Œ xcan_start_xmit_mailbox(9) β€” Kernel API Manual, section 9 bestie

okay so welcome to the Kernel API Manual, section 9, and today's main character is xcan_start_xmit_mailbox β€” yes she's the mailbox mode transmission starter and she is literally so iconic for it πŸ’… this page is short but she ate, no cap.


✨ NAME ✨

xcan_start_xmit_mailbox β€” starts the transmission (mailbox mode) πŸŽ€

like, that's the whole vibe: she kicks off the Tx, but the mailbox mode way specifically. don't @ me.


πŸ¦‹ SYNOPSIS πŸ¦‹

int xcan_start_xmit_mailbox (struct sk_buff *skb , struct net_device
*ndev );

that's the whole signature, copy it exactly please, spaces and all, she's sensitive πŸ™ˆ


🌸 ARGUMENTS 🌸

  • skb β€” the sk_buff pointer that contains the data to be Txed, i.e. the actual payload gossip she's about to send out 🫢
  • ndev β€” pointer to the net_device structure, the network-device bestie in question

πŸ”₯ RETURN πŸ”₯

  • 0 on success β€” slay, the transmission started, we love to see it πŸ‘‘
  • -ENOSPC if there is no space β€” literally the "no room bestie" error, she tried and there was just no space 😭
fr fr, if you get -ENOSPC back, that's your sign: no space. not a vibe check fail on your part, just the facts.

⭐ SEE ALSO ⭐

Kernel file ./drivers/net/can/xilinx_can.c, plus the whole extended friend group:


okay that's the whole page, go read the source and stan 🧚

πŸ’– cute little sign-off: this one lives in ./drivers/net/can, it's dated October 2026, and yes the page you just read is xcan_start_xmit_mailbox(9) β€” periodt. πŸ“

πŸ“¦ where this page comes from