---
title: nw_interface_type_t
framework: network
role: symbol
role_heading: Structure
path: network/nw_interface_type_t
---

# nw_interface_type_t

Types of network interfaces, based on their link layer media types.

## Declaration

```swift
struct nw_interface_type_t
```

## Topics

### Creating an interface type instance

- [init(_:)](network/nw_interface_type_t/init(_:).md)
- [init(rawValue:)](network/nw_interface_type_t/init(rawvalue:).md)

### Interface types

- [nw_interface_type_wifi](network/nw_interface_type_wifi.md)
- [nw_interface_type_cellular](network/nw_interface_type_cellular.md)
- [nw_interface_type_wired](network/nw_interface_type_wired.md)
- [nw_interface_type_loopback](network/nw_interface_type_loopback.md)
- [nw_interface_type_other](network/nw_interface_type_other.md)

### Accessing the raw value

- [rawValue](network/nw_interface_type_t/rawvalue.md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)

## See Also

### C Network Structures

- [nw_connection_group_state_t](network/nw_connection_group_state_t.md)
- [nw_browser_state_t](network/nw_browser_state_t.md)
- [nw_connection_state_t](network/nw_connection_state_t.md)
- [nw_data_transfer_report_state_t](network/nw_data_transfer_report_state_t.md)
- [nw_endpoint_type_t](network/nw_endpoint_type_t.md)
- [nw_error_domain_t](network/nw_error_domain_t.md)
- [nw_ethernet_channel_state_t](network/nw_ethernet_channel_state_t.md)
- [nw_framer_start_result_t](network/nw_framer_start_result_t.md)
- [nw_ip_ecn_flag_t](network/nw_ip_ecn_flag_t.md)
- [nw_ip_local_address_preference_t](network/nw_ip_local_address_preference_t.md)
- [nw_ip_version_t](network/nw_ip_version_t.md)
- [nw_listener_state_t](network/nw_listener_state_t.md)
- [nw_multipath_service_t](network/nw_multipath_service_t.md)
- [nw_parameters_expired_dns_behavior_t](network/nw_parameters_expired_dns_behavior_t.md)
- [nw_path_status_t](network/nw_path_status_t.md)
