xcan_start_xmit_mailbox(9)
π 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β thesk_buffpointer that contains the data to be Txed, i.e. the actual payload gossip she's about to send out π«Άndevβ pointer to thenet_devicestructure, the network-device bestie in question
π₯ RETURN π₯
0on success β slay, the transmission started, we love to see it π-ENOSPCif 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:
struct xcan_priv(9)xcan_write_reg_le(9)xcan_read_reg_le(9)xcan_write_reg_be(9)xcan_read_reg_be(9)xcan_rx_int_mask(9)set_reset_mode(9)xcan_set_bittiming(9)xcan_chip_start(9)xcan_do_set_mode(9)xcan_write_frame(9)xcan_start_xmit_fifo(9)xcan_start_xmit(9)xcan_rx(9)xcanfd_rx(9)xcan_current_error_state(9)xcan_set_error_state(9)xcan_update_error_state_after_rxtx(9)xcan_err_interrupt(9)xcan_state_interrupt(9)xcan_rx_fifo_get_next_frame(9)xcan_rx_poll(9)xcan_tx_interrupt(9)xcan_interrupt(9)xcan_chip_stop(9)xcan_open(9)xcan_close(9)xcan_get_berr_counter(9)xcan_get_auto_tdcv(9)xcan_suspend(9)xcan_resume(9)xcan_runtime_suspend(9)xcan_runtime_resume(9)xcan_probe(9)xcan_remove(9)
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
- 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