Bug #420 » altq-ifpurge.diff
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);
|
||
}
|
||
/*
|
- « Previous
- 1
- 2
- 3
- Next »