STRUCT DPSW_FDB_MULTICAST_CFG(9)
π struct dpsw_fdb_multicast_cfg(9) π
okay so this is a page from the Kernel API Manual, and it's all about one lil struct, no cap. bestie, meet struct dpsw_fdb_multicast_cfg β it's literally the glow-up blueprint for a multicast entry in the FDB. she's small, she's iconic, she holds everything the kernel needs to know about one multicast record π
β¨ NAME β¨
struct dpsw_fdb_multicast_cfg β "Multi-cast entry configuration", and yes that hyphen is canon, we don't touch it π
π¦ SYNOPSIS π¦
struct dpsw_fdb_multicast_cfg {
enum dpsw_fdb_entry_type type;
u8 mac_addr[6];
u16 num_ifs;
u16 if_id[DPSW_MAX_IF];
};
look at her. four fields. zero notes. main character energy fr fr πΈ
π Members π
okay let's go through the squad one by one, iykyk:
typeβ the vibe check for the entry: you're picking whether it's a static entry or a dynamic one. choose wisely bestie πmac_addrβ the MAC address, plain and simple. six bytes of pure identity. it's giving "who even am I" but in hex πnum_ifsβ how many interfaces are in on this, both the external ones and the internal ones. count 'em, don't skip 'em π₯if_idβ the egress interface IDs, stored in aDPSW_MAX_IF-sized array. this is the "where do we actually send this" list, and she's got room for the whole crew π
ngl there is genuinely nothing else on this page β that's the whole struct. short page, huge slay β
π SEE ALSO π
the little kernel file that started it all lives right here, no cap:
./drivers/net/ethernet/freescale/dpaa2/dpsw.h
and here's the full group chat β every single one of these is invited π«Ά:
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)enum dpsw_learning_mode(9)struct dpsw_fdb_attr(9)struct dpsw_fdb_cfg(9)enum dpsw_flood_type(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)
that's the whole thing bestie, we ate and left zero crumbs π stay hydrated, go read your kernel headers, periodt β¨
signed off with love from ./drivers/net/ethernet/freesca... β October 2026 edition π§ββοΈ
π¦ 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