Lines Matching refs:if_index
165 if (ifp2sc[ifp->if_index].magic != 0xDEADBEEF) { x ; }
177 if ( (ifp2sc[ifp->if_index].flags & IFF_BDG_PROMISC) ) {
182 ifp2sc[ifp->if_index].flags &= ~(IFF_BDG_PROMISC|IFF_MUTE) ;
185 ifp->if_flags, ifp2sc[ifp->if_index].flags);)
188 ifp2sc[ifp->if_index].flags &= ~(IFF_USED) ;
189 bdg_stats.s[ifp->if_index].name[0] = '\0';
213 if ( !(ifp2sc[ifp->if_index].flags & IFF_BDG_PROMISC) ) {
218 ifp2sc[ifp->if_index].flags |= IFF_BDG_PROMISC ;
221 ifp->if_flags, ifp2sc[ifp->if_index].flags);
284 for (i=0, b = ifp2sc ; i < if_index ; i++, b++) {
294 sprintf(bdg_stats.s[ifp->if_index].name,
298 bdg_stats.s[ifp->if_index].name);)
485 printf("BRIDGE 010131, have %d interfaces\n", if_index);
487 for (i = 0 , ifp = ifnet.tqh_first ; i < if_index ;
491 bp = &ifp2sc[ifp->if_index] ;
495 ifp->if_index,
496 bdg_stats.s[ifp->if_index].name,
506 sprintf(bdg_stats.s[ifp->if_index].name,