Project

General

Profile

Bug #420 » altq-ifpurge.diff

corecode, 01/17/2007 03:04 AM

View differences:

net/ifq_var.h 17 Jan 2007 02:55:43 -0000
static __inline void
ifq_purge(struct ifaltq *_ifq)
{
(*_ifq->altq_request)(_ifq, ALTRQ_PURGE, NULL);
if (ifq_is_enabled(_ifq))
(*_ifq->altq_request)(_ifq, ALTRQ_PURGE, NULL);
else
IF_DRAIN(_ifq);
}
/*
(3-3/3)