ntmp_vft_update_entry(9)
π ntmp_vft_update_entry(9) β from the Kernel API Manual, bestie
Okay so picture this: you're deep in the kernel, you've got a VLAN filter entry, and the configuration element data on it is looking kinda stale. Not the vibe. Enter ntmp_vft_update_entry β the glow-up function that refreshes exactly that. β¨
πΈ NAME πΈ
ntmp_vft_update_entry β updates the configuration element data of the VLAN filter entry you point at. That's it, that's the whole job, and it does it slayfully.
π¦ SYNOPSIS π¦
int ntmp_vft_update_entry (struct ntmp_user *user , u16 vid , const
struct vft_cfge_data *cfge );
Yes the line break in the prototype is real, don't @ me, copy it exactly like that. π
π ARGUMENTS π
userβ the targetntmp_userstruct. Your main character, basically. π«Άvidβ the VLAN ID. Au16, iconic, no notes.cfgeβ the configuration element data. This is the fresh content you're dropping in. π
β RETURN β
You get 0 on success β a whole zero, a clean win, we love to see it. π
Otherwise? A negative error code. Not a slay, but at least it's honest. π
π SEE ALSO π
The kernel file where all this lives, for the girlies who wanna read the source directly:
- Kernel file
./drivers/net/ethernet/freescale/enetc/ntmp.c
And the whole friend group of related calls β every single one, no skipping, we're being thorough today:
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_delete_entry(9)ntmp_ett_set_entry(9),ntmp_ett_add_entry(9),ntmp_ett_update_entry(9),ntmp_ett_delete_entry(9)ntmp_ect_update_entry(9)
Like, the whole ntmp cinematic universe. π
Heads up bestie: negative return = something went sideways. Check your args, check youruser, check yourcfge, and try again. π
And that's the page! Sourced from ./drivers/net/ethernet/freesca... (yes it's truncated in the original, I'm not gonna invent the rest, I'm not a liar π), dated October 2026, and filed under the ntmp_vft_update_entry(9) manual page. Go update those entries, queen. πβ¨
π¦ 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