NAME | SYNOPSIS | INTERFACE LEVEL | PARAMETERS | DESCRIPTION | CONTEXT | SEE ALSO
#include <sys/stream.h>void flushband(queue_t *q, unsigned char pri, int flag);
Architecture independent level 1 (DDI/DKI).
Pointer to the queue.
Priority of messages to be flushed.
Valid flag values are:
Flush only data messages (types M_DATA, M_DELAY, M_PROTO, and M_PCPROTO ).
Flush all messages.
flushband() flushes messages associated with the priority band specified by pri. If pri is 0, only normal and high priority messages are flushed. Otherwise, messages are flushed from the band pri according to the value of flag.
flushband() can be called from user or interrupt context.
NAME | SYNOPSIS | INTERFACE LEVEL | PARAMETERS | DESCRIPTION | CONTEXT | SEE ALSO