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

# RegisterEthernetInterface

Registers your driver with the networking stack.

```
virtual kern_return_t RegisterEthernetInterface(IOUserNetworkMACAddress macAddress, IOUserNetworkPacketBufferPool *pool, IOUserNetworkPacketQueue **queues, uint32_t queueCount);
```

## Parameters

`macAddress`

The MAC address of the hardware your driver supports.

`pool`

The buffer pool you use to store incoming and outgoing packets.

`queues`

An array containing the four queues you use to process incoming and outgoing network packets. This array must contain one queue each of types [`IOUserNetworkRxSubmissionQueue`](/documentation/NetworkingDriverKit/IOUserNetworkRxSubmissionQueue), [`IOUserNetworkRxCompletionQueue`](/documentation/NetworkingDriverKit/IOUserNetworkRxCompletionQueue), [`IOUserNetworkTxSubmissionQueue`](/documentation/NetworkingDriverKit/IOUserNetworkTxSubmissionQueue), and [`IOUserNetworkTxCompletionQueue`](/documentation/NetworkingDriverKit/IOUserNetworkTxCompletionQueue). The order of the queues in the array doesn’t matter.

`queueCount`

The number of queues in the `queues` parameter. The `queues` parameter must contain 4 items.

## Discussion

Call this method toward the end of your <doc://com.apple.documentation/documentation/DriverKit/IOService/Start> method when your driver is ready to begin processing incoming and outgoing network packets.

---

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)