vif_delete(9)
π 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 yourstruct mr_table *, the main character of the operation ngl πvifiβ the VIF identifier to delete. it's anint, and it's the one getting deleted. rip bestie πnotifyβ Set to1, if the caller is anotifier_call. lowkey important: set it to1only in that case, iykyk πheadβ if unregistering the VIF, place it on this queue. it's astruct 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
- 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