STRUCT MXL862XX_EXTENDEDVLAN_FILTER(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

So bestie, gather round β€” this page is straight from the Kernel API Manual, and the star of the show is struct mxl862xx_extendedvlan_filter(9) πŸ¦‹ β€” aka the Extended VLAN filter configuration. That's it, that's the whole vibe: one struct that holds all your extended-VLAN filtering tea. πŸ’…


✨ SYNOPSIS ✨

Okay so here's the literal shape of it, no cap β€” copy it exactly, don't be cute with it:

struct mxl862xx_extendedvlan_filter {
    u8 original_packet_filter_mode;
    __le32 filter_4_tpid_mode;
    struct mxl862xx_extendedvlan_filter_vlan outer_vlan;
    struct mxl862xx_extendedvlan_filter_vlan inner_vlan;
    __le32 ether_type;
 };

No hidden fields, no surprise guests. This is the whole squad. πŸ‘‘


🫢 MEMBERS 🫢

Let's do a little meet-and-greet with each field, because each one is lowkey doing the most: 🌸

  • original_packet_filter_mode β€” if this is true, you're filtering on the original packet, meaning the pre-treatment one, before anything got its little makeover. 🧚
  • filter_4_tpid_mode β€” the 4-TPID mode field, and yes it's literally that: check enum mxl862xx_extended_vlan_4_tpid_mode for the actual values. πŸ”
  • outer_vlan β€” the outer VLAN tag filter. Outer. As in the outside one. Main character of the tag stack. πŸ’…
  • inner_vlan β€” the inner VLAN tag filter, nestled all cozy inside. The inner one. We love a hierarchy. πŸŽ€
  • ether_type β€” the EtherType filter; the enum that goes with it is enum mxl862xx_extended_vlan_filter_ethertype. ⭐
Fr fr, don't just shove random numbers in these β€” the enums exist for a reason and they are right there. πŸ™ˆ

🌈 SEE ALSO 🌈

Buckle up buttercup, because this is the extended-universe crossover event and every single one of these is canon. 🫢 They all live in the kernel file ./drivers/net/dsa/mxl862xx/mxl862xx-api.h:

  • struct mdio_relay_data(9)
  • struct mxl862xx_register_mod(9)
  • enum mxl862xx_mac_table_filter(9)
  • struct mxl862xx_mac_table_add(9)
  • struct mxl862xx_mac_table_remove(9)
  • struct mxl862xx_mac_table_read(9)
  • struct mxl862xx_mac_table_query(9)
  • enum mxl862xx_mac_clear_type(9)
  • struct mxl862xx_mac_table_clear(9)
  • enum mxl862xx_age_timer(9)
  • struct mxl862xx_bridge_alloc(9)
  • enum mxl862xx_bridge_config_mask(9)
  • enum mxl862xx_bridge_port_egress_meter(9)
  • struct mxl862xx_qos_meter_cfg(9)
  • enum mxl862xx_bridge_forward_mode(9)
  • struct mxl862xx_bridge_config(9)
  • struct mxl862xx_bridge_port_alloc(9)
  • enum mxl862xx_bridge_port_config_mask(9)
  • enum mxl862xx_color_marking_mode(9)
  • enum mxl862xx_color_remarking_mode(9)
  • enum mxl862xx_pmapper_mapping_mode(9)
  • struct mxl862xx_pmapper(9)
  • struct mxl862xx_bridge_port_config(9)
  • struct mxl862xx_cfg(9)
  • enum mxl862xx_extended_vlan_filter_type(9)
  • enum mxl862xx_extended_vlan_filter_tpid(9)
  • enum mxl862xx_extended_vlan_filter_dei(9)
  • enum mxl862xx_extended_vlan_treatment_remove_tag(9)
  • enum mxl862xx_extended_vlan_treatment_priority(9)
  • enum mxl862xx_extended_vlan_treatment_vid(9)
  • enum mxl862xx_extended_vlan_treatment_tpid(9)
  • enum mxl862xx_extended_vlan_treatment_dei(9)
  • enum mxl862xx_extended_vlan_4_tpid_mode(9)
  • enum mxl862xx_extended_vlan_filter_ethertype(9)
  • struct mxl862xx_extendedvlan_filter_vlan(9)
  • struct mxl862xx_extendedvlan_treatment_vlan(9)
  • struct mxl862xx_extendedvlan_treatment(9)
  • struct mxl862xx_extendedvlan_alloc(9)
  • struct mxl862xx_extendedvlan_config(9)
  • enum mxl862xx_vlan_filter_tci_mask(9)
  • struct mxl862xx_vlanfilter_alloc(9)
  • struct mxl862xx_vlanfilter_config(9)
  • enum mxl862xx_ss_sp_tag_mask(9)
  • enum mxl862xx_ss_sp_tag_rx(9)
  • enum mxl862xx_ss_sp_tag_tx(9)
  • enum mxl862xx_ss_sp_tag_rx_pen(9)
  • struct mxl862xx_ss_sp_tag(9)
  • enum mxl862xx_logical_port_mode(9)
  • struct mxl862xx_ctp_port_assignment(9)
  • enum mxl862xx_stp_port_state(9)
  • struct mxl862xx_stp_port_cfg(9)
  • struct mxl862xx_sys_fw_image_version(9)
  • enum mxl862xx_port_type(9)
  • enum mxl862xx_rmon_port_type(9)
  • struct mxl862xx_rmon_port_cnt(9)
  • union mxl862xx_xpcs_an_word(9)
  • enum mxl862xx_xpcs_loopback_mode(9)
  • struct mxl862xx_xpcs_pcs_cfg(9)
  • struct mxl862xx_xpcs_pcs_state(9)
  • struct mxl862xx_xpcs_pcs_disable(9)
  • struct mxl862xx_xpcs_an_restart(9)
  • struct mxl862xx_xpcs_pcs_link_up(9)

Like I said. Extended universe. Obsessed. πŸ”₯


That's the whole page bestie, hope it slayed πŸ’œ β€” this one's filed under the Kernel API Manual, sourced from ./drivers/net/dsa/mxl862xx, dated October 2026. Periodt. πŸŽ€πŸŒΈ

πŸ“¦ where this page comes from