STRUCT DM9051_RXHDR(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, this is struct dm9051_rxhdr(9) from the Kernel API Manual β€” the rx packet data header, and yes she's iconic. πŸŽ€

✨ SYNOPSIS ✨

the whole struct, served fresh:

struct dm9051_rxhdr {
    u8 headbyte;
    u8 status;
    __le16 rxlen;
};

πŸŽ€ Members πŸŽ€

  • headbyte β€” the lead byte; when it's equal to 0x01, it notifies a valid packet. πŸ’…
  • status β€” the status bits for the received packet. ✨
  • rxlen β€” the packet length. πŸ“

🌈 Description 🌈

so the Rx packed β€” the thing that gets entered into the FIFO memory β€” starts with these four bytes, which is the Rx header. after that comes the ethernet packet data, and it ends with an appended 4-byte CRC data. both the Rx packet and the CRC data are for check purpose, and finally they're dropped by this driver. no cap, that's the whole flow. πŸ’–

πŸ”Ž SEE ALSO πŸ”Ž

  • Kernel file ./drivers/net/ethernet/davicom/dm9051.c β€” plus struct rx_ctl_mach(9), struct dm9051_rxctrl(9), and struct board_info(9). πŸ¦‹

and that's the tea: source/version ./drivers/net/ethernet/davicom, dated October 2026, page struct dm9051_rxhdr(9). mwah πŸ’– byeee bestie 🫢

πŸ“¦ where this page comes from