STRUCT DEVLINK_DPIPE_ACTION(9)
π struct devlink_dpipe_action(9) π
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, slayheaderβ the header π¨ just. the header. that's herfield_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
- 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