ntmp_vft_add_entry(9)
π ntmp_vft_add_entry(9) β Kernel API Manual, bestie edition
Okay so we're diving into the Kernel API Manual today and the star of the show is ntmp_vft_add_entry(9). Buckle up π
β¨ NAME β¨
ntmp_vft_add_entry β add an entry into the VLAN filter table. That's it, that's the whole vibe π¦
πΈ SYNOPSIS πΈ
int ntmp_vft_add_entry (struct ntmp_user *user , u16 vid , const struct
vft_cfge_data *cfge );
Literally just call it like that, no cap π
π ARGUMENTS π
userβ the targetntmp_userstruct, aka who we're doing this for π«Άvidβ the VLAN ID, it's giving identifier energycfgeβ configuration element data, the actual payload of the whole operation β¨
β RETURN β
0 on success π otherwise a negative error code (and yes, negative means something went sideways, so maybe check that π)
π₯ SEE ALSO π₯
Kernel file ./drivers/net/ethernet/freescale/enetc/ntmp.c β go read it, iykyk π
Then the whole friend group, in this exact order, no skipping:
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_update_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 squad is here and they all ate π
Reminder bestie: this page is from ./drivers/net/ethernet/freesca... (the source line got cut off in the original, not my fault π) and it's dated October 2026. Periodt. π
okay ily, go add some VLAN filter entries, you're gonna slay π§ββοΈβ¨
π¦ 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