ntmp_ett_update_entry(9)
π ntmp_ett_update_entry(9) β the Kernel API Manual, bestie edition π
okay so this is a page from the Kernel API Manual (section 9, the big-leagues kernel dev section, iykyk) and it's about one very specific little function called ntmp_ett_update_entry. it's giving "glow-up for a table entry" energy β¨
πΈ NAME πΈ
ntmp_ett_update_entry β updates the configuration element data of the entry you point at. literally: you pick the entry, it gets the new cfge data. no cap π«Ά
β¨ SYNOPSIS β¨
int ntmp_ett_update_entry (struct ntmp_user *user , u32 entry_id , const
struct ett_cfge_data *cfge );
three args, one int coming back at you. simple. iconic. π
π¦ ARGUMENTS π¦
userβ the targetstruct ntmp_userπ«Ά this is the one you're working onentry_idβ the entry ID, aka which entry we're updating (u32, bestie, not a guess)cfgeβ the configuration element data (const struct ett_cfge_data *) β this is the new glow-up getting applied
π RETURN π
0 on success. anything else? negative error code, so keep an eye out π
fr fr, check that return value. 0 = slay, negative = go read the errors.
π SEE ALSO π
the kernel file lives at ./drivers/net/ethernet/freescale/enetc/ntmp.c β that's the main character's home address π
and here's the whole friend group, all of them, in the order the page gives them:
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_set_entry(9)ntmp_ett_add_entry(9)ntmp_ett_delete_entry(9)ntmp_ect_update_entry(9)
add / update / delete / set / search, the whole roster π they really did that
π tiny reminder: nothing here is "figure it out yourself" territory β the args, the return, and that exact file path are all straight from the page. if you change the vibe you do not get to change the facts, periodt.
β¨ mwah, that's the page β¨ brought to you by the source path ./drivers/net/ethernet/freesca... (she got cut off mid-path, tragic π) and dated October 2026, closing out with the one and only ntmp_ett_update_entry(9) π§ββοΈπ stay slay, bestie, and may your return values always be 0 πΈ
π¦ 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