vif_delete(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– vif_delete(9) πŸ’–

okay so bestie, welcome to the vif_delete page from the Kernel API Manual β€” yes, that's the manual name, and yes, we're doing this. this one's short and sweet, and honestly? it ate. let's get into it 🫢


✨ NAME ✨

vif_delete β€” Delete a VIF entry πŸ’…

like literally just. delete the VIF entry. that's the whole vibe.


🌸 SYNOPSIS 🌸

int vif_delete (struct mr_table *mrt , int vifi , int notify , struct list_head *head );

four args, one int coming back at you. no cap, that's it. ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

okay so here's the rundown of every single one, no skips, i promised:

  • mrt β€” the Table to delete from. this is your struct mr_table *, the main character of the operation ngl πŸ‘‘
  • vifi β€” the VIF identifier to delete. it's an int, and it's the one getting deleted. rip bestie πŸ’€
  • notify β€” Set to 1, if the caller is a notifier_call. lowkey important: set it to 1 only in that case, iykyk πŸŽ€
  • head β€” if unregistering the VIF, place it on this queue. it's a struct list_head *, and this is where the VIF goes when it's unregistering 🌸

πŸŽ€ SEE ALSO πŸŽ€

  • Kernel file ./net/ipv4/ipmr.c β€” go read it, it's giving source-of-truth energy πŸ”₯

honest note from me to you: this page has no extra options, no env vars, no exit statuses, no bugs section β€” i'm not gonna invent any just to make the page longer. what you see is what you get, and what you get is iconically short. periodt πŸ’…

and that's the whole page, bestie!! slay 🌈 this one shipped out of ./net/ipv4 in October 2026 β€” mwah, go delete some VIF entries responsibly πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from