ei_receive(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– ei_receive β€” girl help, there are packets πŸ’–

okay so bestie, you're in the ei_receive(9) page of the Kernel API Manual, and honestly? this one's short and sweet. let's get into it πŸŽ€


✨ NAME ✨

ei_receive β€” receive some packets

like, literally. that's the whole job. packets come in, you go get 'em πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

void ei_receive (struct net_device *dev );

no cap, that's the entire signature. she's void, she takes one arg, she does the thing ✨


🌸 ARGUMENTS 🌸

  • dev β€” the network device that receive is gonna be run with. that's your main character right there πŸ‘‘

πŸ’œ DESCRIPTION πŸ’œ

okay so picture this: we have a good packet (or, like, several β€” packet*s*, plural, icon behavior 🫢). the whole vibe of this function is getting it/them out of the buffers. that's it. that's the assignment.

lowkey important detail tho: this is called with the lock held πŸ”’ so like, whoever's calling you better already be holding it. don't come in here unlocked, that's not the vibe. periodt.


🌈 SEE ALSO 🌈

go read those too bestie, they're all in the same friend group fr fr πŸ’€βœ¨


ngl this page lives in ./drivers/net/ethernet/8390 and it's dated October 2026 β€” and yes, it's also known as ei_receive(9), we love a consistent queen πŸ’…πŸ‘‘πŸ¦‹

that's the whole page, hope it ate πŸŒΈπŸ’–πŸŽ€

πŸ“¦ where this page comes from