ntmp_ett_set_entry(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ntmp_ett_set_entry(9)

okay bestie, welcome to the Kernel API Manual ✨ this one's all about ntmp_ett_set_entry, and honestly? it's giving "one function, two jobs, zero drama." πŸŽ€


🌸 NAME

ntmp_ett_set_entry β€” add a new entry to the egress treatment table or update the configuration element data of the specified entry πŸ¦‹

like, yes, it does both. main character energy fr fr.


✨ SYNOPSIS

int ntmp_ett_set_entry (struct ntmp_user *user , u32 entry_id , int cmd
, const struct ett_cfge_data *cfge );

πŸ’– ARGUMENTS

  • user β€” the target ntmp_user struct πŸ‘€ (this is your person, basically)
  • entry_id β€” the entry ID πŸ”’
  • cmd β€” the command type, and it's literally either NTMP_CMD_ADD or NTMP_CMD_UPDATE πŸ’« those are the only two vibes allowed
  • cfge β€” the configuration element data 🧚 your actual payload

⭐ RETURN

0 on success, otherwise a negative error code 😭 β€” so if you see a negative number, that's a no from the kernel, ngl.


πŸ”₯ SEE ALSO

that's the whole friend group right there, go say hi πŸ‘‘πŸ’œ


~ cute lil sign-off ~ this page came from the source/version line ./drivers/net/ethernet/freesca... and it's dated October 2026 πŸ—“οΈβœ¨ slay, go call it on your favourite kernel, mwah πŸ«ΆπŸ’–

πŸ“¦ where this page comes from