---
title: "output(IOMbufQueue *, UInt32 *)"
framework: kernel
role: pseudoSymbol
path: kernel/iogatedoutputqueue/1812936-output
---

# output(IOMbufQueue *, UInt32 *)

Transfers all packets in the mbuf queue to the target.

## Declaration

```occ
virtual void output(
 IOMbufQueue *queue,
 UInt32 *state); 
```

## Parameters

- `queue`: A queue of output packets.
- `state`: Return a state bit defined by IOBasicOutputQueue that declares the new state of the queue following this method call. A kStateStalled is returned if the queue should stall, otherwise 0 is returned.

## See Also

### Miscellaneous

- [free](kernel/iogatedoutputqueue/1812925-free.md)
- [init](kernel/iogatedoutputqueue/1812930-init.md)
- [output(void *)](kernel/iogatedoutputqueue/1812941-output.md)
- [scheduleServiceThread](kernel/iogatedoutputqueue/1812945-scheduleservicethread.md)
- [withTarget(IONetworkController *, IOWorkLoop *, UInt32)](kernel/iogatedoutputqueue/1812948-withtarget.md)
- [withTarget(IONetworkController *, IOWorkLoop *, UInt32, UInt32)](kernel/iogatedoutputqueue/1812950-withtarget.md)
- [withTarget(OSObject *, IOOutputAction, IOWorkLoop *, UInt32)](kernel/iogatedoutputqueue/1812954-withtarget.md)
- [withTarget(OSObject *, IOOutputAction, IOWorkLoop *, UInt32, UInt32)](kernel/iogatedoutputqueue/1812957-withtarget.md)
