<!--
{
  "availability" : [
    "DriverKit: -"
  ],
  "documentType" : "symbol",
  "framework" : "NetworkingDriverKit",
  "identifier" : "/documentation/NetworkingDriverKit/IOUserNetworkPacketQueue/EnqueuePackets-qzx",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "NetworkingDriverKit"
    ],
    "preciseIdentifier" : "c:@S@IOUserNetworkPacketQueue@F@EnqueuePackets#**$@S@IOUserNetworkPacket#i#"
  },
  "title" : "EnqueuePackets"
}
-->

# EnqueuePackets

Adds multiple network packets to the queue for processing.

```
virtual uint32_t EnqueuePackets(IOUserNetworkPacket **packets, uint32_t packetCount);
```

## Parameters

`packets`

An array of network packets you want to add to the queue.

`packetCount`

The number of network packets in the `packets` parameter.

## Return Value

The number of packets actually added to the queue.

## Discussion

Call this method when you are ready to submit multiple packets to a completion queue for processing. After the system processes the enqueued network packets, it recycles them and makes them available on the corresponding submission queue.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)