STRUCT DEVLINK_DPIPE_ACTION(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to the Kernel API Manual ✨ β€” this is the page for struct devlink_dpipe_action, and no cap, it's literally the glow-up era of action operations πŸŽ€


🌸 NAME 🌸

struct devlink_dpipe_action β€” the struct that represents an action operation πŸ’… yep, that's the whole vibe, she's an action operation and she's iconic for it


✨ SYNOPSIS ✨

struct devlink_dpipe_action {
    enum devlink_dpipe_action_type type;
    unsigned int header_index;
    struct devlink_dpipe_header *header;
    unsigned int field_id;
 };

like, that's the whole shape of her, four fields, no notes πŸ‘‘


πŸ¦‹ Members πŸ¦‹

  • type β€” the type of action, fr fr that's what it is, it's giving "what kind of action are we even doing here" 🫢
  • header_index β€” the header index πŸ’« and this one matters so listen up: packets can have several headers of the same type, like in the case of tunnels, so yeah, you need the index, slay
  • header β€” the header πŸ“¨ just. the header. that's her
  • field_id β€” the field index πŸ” the index of the field, periodt

🧚 SEE ALSO 🧚

go check the Kernel file ./include/net/devlink.h first, that's the main character πŸ’œ and then the whole friend group:

  • struct devlink_port_pci_pf_attrs(9)
  • struct devlink_port_pci_vf_attrs(9)
  • struct devlink_port_pci_sf_attrs(9)
  • struct devlink_port_attrs(9)
  • struct devlink_linecard_ops(9)
  • struct devlink_dpipe_field(9)
  • struct devlink_dpipe_header(9)
  • struct devlink_dpipe_match(9)
  • struct devlink_dpipe_value(9)
  • struct devlink_dpipe_entry(9)
  • struct devlink_dpipe_dump_ctx(9)
  • struct devlink_dpipe_table(9)
  • struct devlink_dpipe_table_ops(9)
  • struct devlink_dpipe_headers(9)
  • struct devlink_resource_size_params(9)
  • struct devlink_flash_notify(9)
  • struct devlink_param(9)
  • struct devlink_flash_update_params(9)
  • struct devlink_region_ops(9)
  • struct devlink_port_region_ops(9)
  • struct devlink_health_reporter_ops(9)
  • struct devlink_trap_metadata(9)
  • struct devlink_trap_policer(9)
  • struct devlink_trap_group(9)
  • struct devlink_trap(9)
  • struct devlink_port_ops(9)

like, that's the whole squad, iykyk 🌈


bestie this page lives in ./include/net and it's dated October 2026 ⭐ so you know it's fresh, and the manual is the Kernel API Manual β€” go be obsessed with it πŸ’–πŸŽ€πŸ¦‹
πŸ“¦ where this page comes from