ENUM NPC_DFT_RULE_ID(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ 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.h enum
  • 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