<!--
{
  "availability" : [
    "DriverKit: 19.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "NetworkingDriverKit",
  "identifier" : "/documentation/NetworkingDriverKit",
  "metadataVersion" : "0.1.0",
  "role" : "Framework",
  "symbol" : {
    "kind" : "Framework",
    "modules" : [
      "NetworkingDriverKit"
    ],
    "preciseIdentifier" : "NetworkingDriverKit"
  },
  "title" : "NetworkingDriverKit"
}
-->

# NetworkingDriverKit

Develop drivers for Ethernet networking devices.

## Overview

Use NetworkingDriverKit to develop drivers for USB Ethernet adapters. This framework extends the API of <doc://com.apple.documentation/documentation/DriverKit>, providing you with a service class for managing your networking driver. It also provides support for managing the memory you use to store packets, transferring those packets between the device and networking stack, and inspecting the Ethernet link status.

Note that Ethernet is the only networking interface currently supported by NetworkingDriverKit.

Develop your driver with DriverKit and NetworkingDriverKit. Use USBDriverKit to manage the connection to your hardware device. Include your driver inside your macOS app and use the <doc://com.apple.documentation/documentation/SystemExtensions> framework to install and upgrade the driver on the user’s Mac.

> Note:
> NetworkingDriverKit is available on macOS.

## Topics

### Essentials

  <doc://com.apple.documentation/documentation/BundleResources/Entitlements/com.apple.developer.driverkit.family.networking>

### Samples

  <doc://com.apple.documentation/documentation/PCIDriverKit/connecting-a-network-driver>

  <doc://com.apple.documentation/documentation/DriverKit/driverkit-sample-code>

### Network Service

[`class IOUserNetworkEthernet;`](/documentation/NetworkingDriverKit/IOUserNetworkEthernet)

The object you use to manage the setup, configuration, and teardown of your networking driver.

### Packet Management

[`class IOUserNetworkPacketBufferPool;`](/documentation/NetworkingDriverKit/IOUserNetworkPacketBufferPool)

An object that manages the storage space for packets coming into and out of your driver.

[`class IOUserNetworkPacket;`](/documentation/NetworkingDriverKit/IOUserNetworkPacket)

A network packet containing the data for your driver to process.

[`typedef uint32_t IOUserNetworkPacketDirection;`](/documentation/NetworkingDriverKit/IOUserNetworkPacketDirection)

The direction in which the packet moves, relative to the device.

### Packet Queues

[`class IOUserNetworkRxSubmissionQueue;`](/documentation/NetworkingDriverKit/IOUserNetworkRxSubmissionQueue)

The queue that receives packets from the device.

[`class IOUserNetworkRxCompletionQueue;`](/documentation/NetworkingDriverKit/IOUserNetworkRxCompletionQueue)

The queue you use to store packets that you successfully transferred to the networking stack.

[`class IOUserNetworkTxSubmissionQueue;`](/documentation/NetworkingDriverKit/IOUserNetworkTxSubmissionQueue)

The queue that receives packets from the networking stack.

[`class IOUserNetworkTxCompletionQueue;`](/documentation/NetworkingDriverKit/IOUserNetworkTxCompletionQueue)

The queue you use to store packets that you successfully transferred to the device.

[`class IOUserNetworkPacketQueue;`](/documentation/NetworkingDriverKit/IOUserNetworkPacketQueue)

The base class for the queues that manage the packets moving to and from your device.

### Reference

[NetworkingDriverKit Structures](/documentation/NetworkingDriverKit/networkingdriverkit-structures)

[NetworkingDriverKit Data Types](/documentation/NetworkingDriverKit/networkingdriverkit-data-types)

[NetworkingDriverKit Constants](/documentation/NetworkingDriverKit/networkingdriverkit-constants)

### Classes

[`class IOUserNetworkPacketPoller;`](/documentation/NetworkingDriverKit/IOUserNetworkPacketPoller)

[`class IOUserNetworkPacketQueueCompat;`](/documentation/NetworkingDriverKit/IOUserNetworkPacketQueueCompat)

[`class IOUserNetworkRxCompletionQueueCompat;`](/documentation/NetworkingDriverKit/IOUserNetworkRxCompletionQueueCompat)

[`class IOUserNetworkRxSubmissionQueueCompat;`](/documentation/NetworkingDriverKit/IOUserNetworkRxSubmissionQueueCompat)

[`class IOUserNetworkTxCompletionQueueCompat;`](/documentation/NetworkingDriverKit/IOUserNetworkTxCompletionQueueCompat)

[`class IOUserNetworkTxSubmissionQueueCompat;`](/documentation/NetworkingDriverKit/IOUserNetworkTxSubmissionQueueCompat)

### Structures

[`struct IOUserNetworkEthernet_IVars;`](/documentation/NetworkingDriverKit/IOUserNetworkEthernet_IVars)

[`struct IOUserNetworkPacketQueueCompat_IVars;`](/documentation/NetworkingDriverKit/IOUserNetworkPacketQueueCompat_IVars)

[`struct IOUserNetworkRxCompletionQueueCompat_IVars;`](/documentation/NetworkingDriverKit/IOUserNetworkRxCompletionQueueCompat_IVars)

[`struct IOUserNetworkRxSubmissionQueueCompat_IVars;`](/documentation/NetworkingDriverKit/IOUserNetworkRxSubmissionQueueCompat_IVars)

[`struct IOUserNetworkTxCompletionQueueCompat_IVars;`](/documentation/NetworkingDriverKit/IOUserNetworkTxCompletionQueueCompat_IVars)

[`struct IOUserNetworkTxSubmissionQueueCompat_IVars;`](/documentation/NetworkingDriverKit/IOUserNetworkTxSubmissionQueueCompat_IVars)

### Macros

[`#define NDK_25`](/documentation/NetworkingDriverKit/NDK_25)

### Enumeration Cases

[`kIOUserNetworkHWAssistLRONumSeg`](/documentation/NetworkingDriverKit/kIOUserNetworkHWAssistLRONumSeg)

### Type Aliases

[`typedef unsigned int (*)(class OSObject *, class IOUserNetworkPacketQueueCompat *, class IOUserNetworkPacket **, unsigned int, void *) DequeueActionCompat;`](/documentation/NetworkingDriverKit/DequeueActionCompat)

[`typedef unsigned int (*)(class OSObject *, class IOUserNetworkPacketQueueCompat *, class IOUserNetworkPacket **, unsigned int, void *) EnqueueActionCompat;`](/documentation/NetworkingDriverKit/EnqueueActionCompat)

[`typedef uint32_t IOUserNetworkPacketQueueCompatId;`](/documentation/NetworkingDriverKit/IOUserNetworkPacketQueueCompatId)

[`typedef unsigned int (*)(class OSObject *, class IOUserNetworkPacketQueueCompat *, unsigned int *) QueryFreeSpaceActionCompat;`](/documentation/NetworkingDriverKit/QueryFreeSpaceActionCompat)

---

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)