ENUM NPC_DFT_RULE_ID(9)
π enum npc_dft_rule_id(9) β the Kernel API Manual, bestie edition π
okay so welcome to the enum npc_dft_rule_id(9) page!! this is a page from the Kernel API Manual and it's literally just a cute little enum that tells you what kind of default rule you're dealing with. tiny page, big vibes, let's go π
β¨ NAME β¨
enum npc_dft_rule_id β Default rule type π¦
β¨ SYNOPSIS β¨
here's the whole shape of it, no cap, copy it exactly:
enum npc_dft_rule_id {
NPC_DFT_RULE_START_ID ,
NPC_DFT_RULE_PROMISC_ID ,
NPC_DFT_RULE_MCAST_ID ,
NPC_DFT_RULE_BCAST_ID ,
NPC_DFT_RULE_UCAST_ID ,
NPC_DFT_RULE_MAX_ID
};
β¨ Constants β¨
the way that each of these is its own whole personality, obsessed πΈ
NPC_DFT_RULE_START_IDβ honestly? not used. it's giving placeholder energy π nothing happens here.NPC_DFT_RULE_PROMISC_IDβ the promiscuous rule π₯ (yes that's the actual name, we don't make the rules, we just enumerate them)NPC_DFT_RULE_MCAST_IDβ the multicast rule πNPC_DFT_RULE_BCAST_IDβ the broadcast rule π‘NPC_DFT_RULE_UCAST_IDβ the unicast rule βNPC_DFT_RULE_MAX_IDβ Maximum index. that's the ceiling, the final boss, the end of the list π
β¨ Description β¨
Mcam default rule type. that's it, that's the whole description β short and iconic, periodt π
π SEE ALSO π
go read these next, iykyk:
- Kernel file
./drivers/net/ethernet/marvell/octeontx2/af/cn20k/npc.henum npc_subbank_flag(9)struct npc_subbank(9)struct npc_defrag_show_node(9)struct npc_priv_t(9)
and that's the page!! π«Ά this whole thing came out of ./drivers/net/ethernet/marvell... and it's dated October 2026 β so yeah, mark your calendar bestie, and remember: enum npc_dft_rule_id(9), always in our hearts ππ
π¦ 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