ENUM MXL862XX_MAC_TABLE_FILTER(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum mxl862xx_mac_table_filter β€” Kernel API Manual, bestie ✨

okay so this one's from the Kernel API Manual and it's literally the tiniest little enum but it's iconic for what it does, trust 🫢


✨ NAME ✨

enum mxl862xx_mac_table_filter β€” Source/Destination MAC address filtering πŸŽ€

the way this thing exists purely to answer "which MAC are we filtering on, babes?" β€” src, dest, both, or none, no cap πŸ’…


🌸 SYNOPSIS 🌸

enum mxl862xx_mac_table_filter {
    MXL862XX_MAC_FILTER_NONE ,
    MXL862XX_MAC_FILTER_SRC ,
    MXL862XX_MAC_FILTER_DEST ,
    MXL862XX_MAC_FILTER_BOTH

};

like, that's it. that's the whole enum. four vibes. one of them has a little trailing space before the comma and we're not gonna talk about it πŸ™ˆ


πŸ¦‹ Constants πŸ¦‹

these are the four main characters of this whole file, so let's give them their moment ⭐

  • MXL862XX_MAC_FILTER_NONE β€” no filter πŸ’€ basically the "let it through, we're not checking anything" option
  • MXL862XX_MAC_FILTER_SRC β€” source address filter πŸ‘‘ we're looking at where it came from, bestie
  • MXL862XX_MAC_FILTER_DEST β€” destination address filter 🎯 now we're judging where it's going
  • MXL862XX_MAC_FILTER_BOTH β€” both source and destination filter πŸ”₯ the overachiever. guards both doors. main character energy fr fr

πŸ’– SEE ALSO πŸ’–

okay so this section is a lot β€” it's giving "everyone in this kernel module knows each other" 😭 but every single one of these is a real reference, no skips, no cap:

first up, the actual kernel file this lives in:

Kernel file ./drivers/net/dsa/mxl862xx/mxl862xx-api.h

and then the whole friend group 🫢:

  • struct mdio_relay_data(9)
  • struct mxl862xx_register_mod(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_filter(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, oh my god, that's the whole extended family at the function signature reunion 😭 but you asked for the whole list and you got the whole list, periodt πŸ’œ


ngl if you're deep in the DSA driver weeds, reading the whole list above is lowkey the fastest way to find your way around mxl862xx-api.h β€” everything's linked, iykyk 🧚

and that's the page bestie!! this one came straight out of ./drivers/net/dsa/mxl862xx and it's dated October 2026 β€” so like, future manpage slay πŸ’« mwah, go filter some MACs responsibly πŸŒˆπŸ“

πŸ“¦ where this page comes from