at91_mailbox_read(9)
π at91_mailbox_read(9) π
okay bestie, welcome to the Kernel API Manual β we're looking at at91_mailbox_read, and it's giving "tiny CAN mailbox helper with main character energy" β¨. No cap, this page is short, but every detail stays.
π NAME π
at91_mailbox_read β read CAN msg from mailbox. That's the whole vibe: one function, one job π«Ά.
β¨ SYNOPSIS β¨
struct sk_buff * at91_mailbox_read (struct can_rx_offload *offload , unsigned int mb , u32 *timestamp , bool drop );
π ARGUMENTS π
offloadβ rx-offload. The rx-offload situation, periodt.mbβ mailbox number to read from. Which mailbox are we reading? This number, bestie.timestampβ pointer to 32 bit timestamp. Point it at a 32-bit timestamp π°οΈ.dropβ when it'strue, it indicates the mailbox should be marked as read and the frame dropped π. Yep, drop it like it's hot.
π¦ DESCRIPTION π¦
Reads a CAN message from the given mailbox if not empty. That's it. That's the lore. If the mailbox isn't empty, it reads the CAN message from it π.
bestie note: the if not empty condition is doing the heavy lifting here β periodt π
.
πΈ SEE ALSO πΈ
- Kernel file
./drivers/net/can/at91_can.cβ go read the source, it's right there π. at91_rx_overflow_err(9)β another manual page to hit up next.
that's the page, bestie! signed off from source/version ./drivers/net/can, dated October 2026, with all the Kernel API Manual energy we deserve β¨π
π
π¦ 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