ntmp_ett_set_entry(9)
π 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 targetntmp_userstruct π€ (this is your person, basically)entry_idβ the entry ID π’cmdβ the command type, and it's literally eitherNTMP_CMD_ADDorNTMP_CMD_UPDATEπ« those are the only two vibes allowedcfgeβ 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
- Kernel file
./drivers/net/ethernet/freescale/enetc/ntmp.cπ ntmp_ipft_add_entry(9),ntmp_ipft_delete_entry(9)ntmp_fdbt_add_entry(9),ntmp_fdbt_update_entry(9),ntmp_fdbt_delete_entry(9),ntmp_fdbt_search_port_entry(9),ntmp_fdbt_update_activity_element(9),ntmp_fdbt_delete_ageing_entries(9),ntmp_fdbt_delete_port_dynamic_entries(9)ntmp_vft_set_entry(9),ntmp_vft_add_entry(9),ntmp_vft_update_entry(9),ntmp_vft_delete_entry(9)ntmp_ett_add_entry(9),ntmp_ett_update_entry(9),ntmp_ett_delete_entry(9)ntmp_ect_update_entry(9)
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
- 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