ENUM DPSW_ACL_ACTION(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum dpsw_acl_action(9) β€” the kernel API manual, but make it make sense

okay so bestie, welcome to the Kernel API Manual page for enum dpsw_acl_action(9) ✨ this is the whole vibe of "what do we even DO when an ACL rule matches?" and honestly it's such a mood. let's get into it 🫢


🌸 NAME

enum dpsw_acl_action β€” the action to be run on the ACL rule match πŸ’– like, once your rule hits, this is the thing that decides what happens next. main character decision energy fr fr.


✨ SYNOPSIS ✨

here's the actual enum, copied exactly, no cap:

enum dpsw_acl_action {
    DPSW_ACL_ACTION_DROP ,
    DPSW_ACL_ACTION_REDIRECT ,
    DPSW_ACL_ACTION_ACCEPT ,
    DPSW_ACL_ACTION_REDIRECT_TO_CTRL_IF

};

look at her. four constants. four whole personalities πŸ’…


πŸŽ€ Constants πŸŽ€

okay so here's the lineup, each one with its whole little job:

  • DPSW_ACL_ACTION_DROP β€” drop the frame πŸ—‘οΈ it's giving "we don't know her". frame does not pass go, frame does not collect $200.
  • DPSW_ACL_ACTION_REDIRECT β€” redirect to a certain port πŸ¦‹ send it somewhere specific instead of where it was headed.
  • DPSW_ACL_ACTION_ACCEPT β€” accept the frame βœ… let her through, she's valid.
  • DPSW_ACL_ACTION_REDIRECT_TO_CTRL_IF β€” redirect to the control interface πŸ”₯ off she goes to the ctrl interface instead.
ngl this is the whole enum, there's no secret fifth option hiding in the back. four. that's the post. πŸ’€

πŸ‘‘ SEE ALSO

the kernel file lives at ./drivers/net/ethernet/freescale/dpaa2/dpsw.h πŸ“ and here's the whole extended friend group, every single one, in order, periodt:

  • 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)
  • 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)
  • 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 page bestie, every constant, every reference, nothing skipped. go read dpsw.h if you want the deep lore 🧚

kay bye, this page came from ./drivers/net/ethernet/freescale/dpaa2/dpsw.h and it's dated October 2026 ⭐ love that for us. mwah πŸ’œ

πŸ“¦ where this page comes from