lites/server/net/if.c
/*
 * Network interface utility routines.
 *
 * Routines with ifa_ifwith* names take sockaddr *'s as
 * parameters.
 */
Network interface utility routines.
Routines with ifa_ifwith* names take sockaddr *'s as
parameters.
Network interface utility routines . Routines with ifa_ifwith * names take sockaddr * ' s as parameters .
void
ifinit()
{
	register struct ifnet *ifp;
	for (ifp = ifnet; ifp; ifp = ifp->if_next)
		if (ifp->if_snd.ifq_maxlen == 0)
			ifp->if_snd.ifq_maxlen = ifqmaxlen;
	if_slowtimo(0);
}
void ifinit ( ) { register struct ifnet * ifp ; for ( ifp = ifnet ; ifp ; ifp = ifp -> if_next ) if ( ifp -> if_snd . ifq_maxlen == 0 ) ifp -> if_snd . ifq_maxlen = ifqmaxlen ; if_slowtimo ( 0 ) ; }
Network interface utility routines.
Network interface utility routines .