ENUM DPSW_FLOOD_TYPE(9)
π enum dpsw_flood_type(9) β the DPSW flood-type enum, explained π¦
okay bestie, so this page lives in the Kernel API Manual, and it's literally just here to define one tiny enum. no cap, it's small, but it's important. let me walk you through it π«Ά
β¨ NAME β¨
enum dpsw_flood_type β this is the thing that defines the flood type of a DPSW object. that's it, that's the whole job. main character energy for a typedef, honestly π
πΈ SYNOPSIS πΈ
here's the literal shape of it, copy-pasted exactly so nobody comes for me:
enum dpsw_flood_type {
DPSW_BROADCAST ,
DPSW_FLOODING
};
likeβ¦ two constants, vibes immaculate, semicolon placement a little quirky (the space before the comma? we don't talk about it π), but it's iconic and it works.
π Constants π
DPSW_BROADCASTβ this one is the broadcast flooding option. bestie said "send it to everybody" and honestly, slay πDPSW_FLOODINGβ and this one is unknown flooding. yes, the name is literally "unknown", and no, that's not me being shady, that's just what the source says π
keep the two separate in your head, okay? one is broadcast, one is unknown flooding. the docs don't elaborate, so neither will I β no inventing lore fr fr π
π¦ SEE ALSO π¦
where does this live and what's it hanging out with? buckle up, this list is long and every single one of these made the cut π
Kernel file ./drivers/net/ethernet/freescale/dpaa2/dpsw.h
DPSW_OPT_FLOODING_DIS(9)DPSW_OPT_MULTICAST_DIS(9)DPSW_OPT_CTRL_IF_DIS(9)enum dpsw_component_type(9)enum dpsw_flooding_cfg(9)enum dpsw_broadcast_cfg(9)DPSW_IRQ_EVENT_LINK_CHANGED(9)DPSW_IRQ_EVENT_ENDPOINT_CHANGED(9)struct dpsw_irq_cfg(9)struct dpsw_attr(9)struct dpsw_ctrl_if_attr(9)struct dpsw_ctrl_if_pools_cfg(9)enum dpsw_action(9)struct dpsw_link_cfg(9)struct dpsw_link_state(9)struct dpsw_tci_cfg(9)enum dpsw_stp_state(9)struct dpsw_stp_cfg(9)enum dpsw_accepted_frames(9)enum dpsw_counter(9)struct dpsw_if_attr(9)struct dpsw_vlan_cfg(9)struct dpsw_vlan_if_cfg(9)enum dpsw_fdb_entry_type(9)struct dpsw_fdb_unicast_cfg(9)struct fdb_dump_entry(9)struct dpsw_fdb_multicast_cfg(9)enum dpsw_learning_mode(9)struct dpsw_fdb_attr(9)struct dpsw_fdb_cfg(9)struct dpsw_acl_cfg(9)struct dpsw_acl_if_cfg(9)struct dpsw_acl_fields(9)struct dpsw_acl_key(9)enum dpsw_acl_action(9)struct dpsw_acl_result(9)struct dpsw_acl_entry_cfg(9)enum dpsw_reflection_filter(9)struct dpsw_reflection_cfg(9)struct dpsw_lag_cfg(9)
like, that's the whole friend group right there. iykyk π§
okay that's the page!! short, sweet, two constants deep π ngl it's giving "tiny enum, huge ecosystem". anyway β this one's brought to you by the source ./drivers/net/ethernet/freesca... and dated October 2026, so go forth and flood responsibly bestie ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms