SCCS-vsn: sys/net/if.c 4.19
-/* if.c 4.18 82/06/23 */
+/* if.c 4.19 82/09/12 */
#include "../h/param.h"
#include "../h/systm.h"
#include "../h/param.h"
#include "../h/systm.h"
if (ifp->if_snd.ifq_maxlen == 0)
ifp->if_snd.ifq_maxlen = ifqmaxlen;
}
if (ifp->if_snd.ifq_maxlen == 0)
ifp->if_snd.ifq_maxlen = ifqmaxlen;
}
if_down(ifp)
register struct ifnet *ifp;
{
if_down(ifp)
register struct ifnet *ifp;
{
ifp->if_flags &= ~IFF_UP;
pfctlinput(PRC_IFDOWN, (caddr_t)&ifp->if_addr);
}
ifp->if_flags &= ~IFF_UP;
pfctlinput(PRC_IFDOWN, (caddr_t)&ifp->if_addr);
}
}
(*ifp->if_watchdog)(ifp->if_unit);
}
}
(*ifp->if_watchdog)(ifp->if_unit);
}
+ timeout(if_slowtimo, 0, hz / IFNET_SLOWHZ);