ntmp_vft_add_entry(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 target ntmp_user struct, aka who we're doing this for 🫢
  • vid β€” the VLAN ID, it's giving identifier energy
  • cfge β€” 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:

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