Contents

init

Initializes an IOBasicOutputQueue object.

Declaration

virtual bool init(
 OSObject *target, 
 IOOutputAction action, 
 UInt32 capacity = 0, 
 UInt32 priorities = 1);

Parameters

  • target:

    The object that will handle packets removed from the queue, which is usually a subclass of IONetworkController.

  • action:

    The function that will handle packets removed from the queue.

  • capacity:

    The initial capacity of the output queue.

Return Value

Returns true if initialized successfully, false otherwise.

See Also

Miscellaneous