<!--
{
  "availability" : [
    "*: -",
    "DriverKit: -"
  ],
  "documentType" : "symbol",
  "framework" : "NetworkingDriverKit",
  "identifier" : "/documentation/NetworkingDriverKit/IOUserNetworkMediaType",
  "metadataVersion" : "0.1.0",
  "role" : "Type Alias",
  "symbol" : {
    "kind" : "Type Alias",
    "modules" : [
      "NetworkingDriverKit"
    ],
    "preciseIdentifier" : "c:@T@IOUserNetworkMediaType"
  },
  "title" : "IOUserNetworkMediaType"
}
-->

# IOUserNetworkMediaType

A structure describing a specific Ethernet type and configuration that your driver supports.

```
typedef uint32_t IOUserNetworkMediaType;
```

## Discussion

To specify a media type, combine a media type constant with zero or more configuration options. For example, if your driver supports 10-BaseT Ethernet in full duplex mode, use the following code to configure that media type.

```objc
IOUserNetworkMediaType media_type = kIOUserNetworkMediaEthernet10BaseT | kIOUserNetworkMediaOptionFullDuplex;
```

## Topics

### Configuring the Media Type Information

[Media Type Constants](/documentation/NetworkingDriverKit/media-type-constants)

The types of networking media your driver supports.

[Configuration Options](/documentation/NetworkingDriverKit/configuration-options)

The configuration options that you support for a specific network media type.



---

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)