Blob


1 #include <u.h>
2 #include <libc.h>
3 #include <ip.h>
5 void
6 freeipifc(Ipifc *i)
7 {
8 Ipifc *next;
9 Iplifc *l, *lnext;
11 for(; i; i=next){
12 next = i->next;
13 for(l=i->lifc; l; l=lnext){
14 lnext = l->next;
15 free(l);
16 }
17 free(i);
18 }
19 }