xcan_rx(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– xcan_rx(9) β€” Kernel API Manual, bestie edition πŸ’–

okay so we are literally in the Kernel API Manual for xcan_rx(9), and this page is the group chat for the CAN isr received-frame completion moment. it’s giving β€œsmall function, important job” πŸ’…

✨ NAME ✨

xcan_rx β€” Is called from CAN isr to complete the received frame processing. no cap, that’s the name-line tea πŸ«–

🌸 SYNOPSIS 🌸

int xcan_rx (struct net_device *ndev , int frame_base );

πŸŽ€ ARGUMENTS πŸŽ€

  • ndev β€” Pointer to net_device structure. it’s the net device bestie, okay? πŸ’–
  • frame_base β€” Register offset to the frame to be read. yes, that exact offset vibe.

πŸ¦‹ DESCRIPTION πŸ¦‹

This function is invoked from the CAN isr(poll) to process the Rx frames. it does minimal processing and invokes netif_receive_skb to complete further processing. so like, it handles the rx moment but delegates the rest β€” lowkey iconic teamwork, fr fr ✨

πŸ’… RETURN πŸ’…

1 on success and 0 on failure. that’s the whole return vibe, bestie 🫢

🌈 SEE ALSO 🌈

go read these next, iykyk:


and that’s the page! source/version footer vibe: ./drivers/net/can, date October 2026, page xcan_rx(9) πŸ’–πŸ«Ά

πŸ“¦ where this page comes from