STRUCT IDPF_MAC_FILTER(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 struct idpf_mac_filter(9) 🌸

okay so bestie, welcome to the Kernel API Manual, and buckle up because today we're looking at a lil struct out of ./drivers/net/ethernet/intel/idpf πŸ’– it's giving "small but important" and honestly? we're obsessed.


✨ NAME ✨

struct idpf_mac_filter β€” no cap, that's the whole name section. the original page literally leaves the description blank, so we're not gonna invent one πŸ™ˆ she's mysterious, she's lowkey an icon, and that's that.


✨ SYNOPSIS ✨

here's the whole vibe, copied exactly so you can't mess it up:

struct idpf_mac_filter {
    struct list_head list;
    u8 macaddr[ETH_ALEN];
    bool remove;
    bool add;
 };

✨ Members ✨

  • list β€” the list member field. that's it, that's the whole job πŸŽ€ she's a struct list_head doing list-member things.
  • macaddr β€” the MAC address, chillin' in a u8 macaddr[ETH_ALEN]. πŸ¦‹
  • remove β€” a bool saying the filter should be removed (virtchnl). bye bestie πŸ’…
  • add β€” a bool saying the filter should be added (virtchnl). hiiii bestie 🌸
fr fr, those two flags are literally tagged (virtchnl) in the source β€” keep that in mind, iykyk.

✨ SEE ALSO ✨

the whole friend group 🫢 all of these live in the kernel file ./drivers/net/ethernet/intel/idpf/idpf.h:


and that's the whole page, bestie! πŸ§šπŸ’œ huge shoutout to the source at ./drivers/net/ethernet/intel/idpf, dated October 2026, rendered in the Kernel API Manual β€” mwah, slay, periodt. πŸ‘‘βœ¨

πŸ“¦ where this page comes from