STRUCT BRCM_ETHHDR(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct brcm_ethhdr(9) ✨

okay so bestie, welcome to the Kernel API Manual πŸ’– this little page is all about a broadcom-specific ethernet header, and honestly? she's giving very niche, very specific, very "if you know you know" energy. iykyk πŸ¦‹


πŸŽ€ NAME πŸŽ€

struct brcm_ethhdr β€” the broadcom specific ether header. that's it, that's the vibe. no cap, she's a header and she's broadcom's. periodt πŸ’…


🌸 SYNOPSIS 🌸

look at her. she's literally built like this:

struct brcm_ethhdr {
    __be16 subtype;
    __be16 length;
    u8 version;
    u8 oui[3];
    __be16 usr_subtype;
 };

that's the whole struct, every field accounted for, not one single thing left out πŸ™ˆ keep those types exactly as they are bestie, __be16 and u8 are load-bearing 🫢


πŸ’œ Members πŸ’œ

so this is the part where we meet everybody in the struct. it's giving a little friend group 🌈

  • subtype β€” the subtype for this packet. yes bestie, that's literally what it is, she tells you what kind of packet you're dealing with πŸŽ€
  • length β€” and the manpage itself says TODO: length of appended data. 😭 so like, that's the note as written, no elaboration, no extra lore, we're not out here inventing details. the docs say TODO and honestly? relatable. sometimes we don't know yet πŸ’€
  • version β€” the version indication. she's indicating the version. iconic behavior, no notes ✨
  • oui β€” the OUI of this packet. keeping it real with the OUI, as one does πŸ‘‘
  • usr_subtype β€” the subtype for this OUI. so like, subtype has a subtype, and the OUI has its own subtype. very main character energy, very "i contain multitudes" πŸ¦‹
ngl that's the entire member list, bestie β€” no hidden fields, no bonus members, we covered all five: subtype, length, version, oui, usr_subtype. count 'em. don't come for me about there being more, because there aren't πŸ’…

πŸ¦‹ SEE ALSO πŸ¦‹

go look at the actual kernel file for the full tea, it lives right here:

./drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.h

and these sibling structs are also in the group chat, go say hi:

  • struct brcmf_event(9)
  • struct brcmf_event_msg(9)
  • struct brcmf_fweh_event_map_item(9)
  • struct brcmf_fweh_event_map(9)
  • struct brcmf_fweh_info(9)

literally the whole brcmfmac fweh family, we stan a supportive ecosystem 🫢🌸


🧚 sign-off 🧚

and that's the page! this one came from ./drivers/net/wireless/broadco... (yes, it's truncated exactly like that on the page, don't @ me πŸ’€) and it's dated October 2026 β€” future vibes, honestly. anyway, go forth and slay, bestie. mwah πŸ’–πŸ’…β­

πŸ“¦ where this page comes from