Mac Developer Library

Developer

IOOutputQueue.h Reference

Options
Deployment Target:

On This Page

IOOutputQueue.h Reference

Included Headers

  • <IOKit/network/IONetworkInterface.h>

Constants

See the Overview section above for header-level documentation.

  • A command requested by the target.

    Declaration

    Objective-C

    enum { kIOOutputCommandMask = 0xff00, kIOOutputCommandNone = 0x0000, kIOOutputCommandStall = 0x0100 };

    Constants

    • kIOOutputCommandMask

      kIOOutputCommandMask

      Define the command field in the return code.

      Available in OS X v10.0 and later.

    • kIOOutputCommandNone

      kIOOutputCommandNone

      No command.

      Available in OS X v10.0 and later.

    • kIOOutputCommandStall

      kIOOutputCommandStall

      A command to stall the queue.

      Available in OS X v10.0 and later.

    Import Statement

  • Common return codes returned by the target's output handler.

    Declaration

    Objective-C

    enum { kIOReturnOutputSuccess = ( kIOOutputStatusAccepted | kIOOutputCommandNone ), kIOReturnOutputDropped = ( kIOOutputStatusDropped | kIOOutputCommandNone ), kIOReturnOutputStall = ( kIOOutputStatusRetry | kIOOutputCommandStall ) };

    Constants

    • kIOReturnOutputSuccess

      kIOReturnOutputSuccess

      Packet was accepted.

      Available in OS X v10.0 and later.

    • kIOReturnOutputDropped

      kIOReturnOutputDropped

      Packet was dropped.

      Available in OS X v10.0 and later.

    • kIOReturnOutputStall

      kIOReturnOutputStall

      Stall the queue and retry the same packet when the queue is restarted.

      Available in OS X v10.0 and later.

    Import Statement

  • The status of the packet sent to the target.

    Declaration

    Objective-C

    enum { kIOOutputStatusMask = 0x00ff, kIOOutputStatusAccepted = 0x0000, kIOOutputStatusDropped = 0x0001, kIOOutputStatusRetry = 0x0002 };

    Constants

    • kIOOutputStatusMask

      kIOOutputStatusMask

      Define the status field in the return code.

      Available in OS X v10.0 and later.

    • kIOOutputStatusAccept

      kIOOutputStatusAccept

      Packet was accepted by the target.

    • kIOOutputStatusDropped

      kIOOutputStatusDropped

      Packet accepted, but was also dropped.

      Available in OS X v10.0 and later.

    • kIOOutputStatusRetry

      kIOOutputStatusRetry

      Target ran out of resources, and is unable to accept the packet. The ownership of the packet reverts back to the queue.

      Available in OS X v10.0 and later.

    Import Statement