---
title: IOUserNetworkMediaType
framework: networkingdriverkit
role: symbol
role_heading: Type Alias
path: networkingdriverkit/iousernetworkmediatype
---

# IOUserNetworkMediaType

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

## Declaration

```occ
typedef uint32_t IOUserNetworkMediaType;
```

## Discussion

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. IOUserNetworkMediaType media_type = kIOUserNetworkMediaEthernet10BaseT | kIOUserNetworkMediaOptionFullDuplex;

## Topics

### Configuring the Media Type Information

- [Media Type Constants](networkingdriverkit/media-type-constants.md)
- [Configuration Options](networkingdriverkit/configuration-options.md)

## See Also

### Declaring the Supported Media Types

- [ReportAvailableMediaTypes](networkingdriverkit/iousernetworkethernet/reportavailablemediatypes.md)
- [SelectMediaType](networkingdriverkit/iousernetworkethernet/selectmediatype.md)
