<!--
{
  "availability" : [
    "iOS: 12.0.0 -",
    "iPadOS: 12.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.14.0 -",
    "tvOS: 12.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Network",
  "identifier" : "/documentation/Network/nw_path_t",
  "metadataVersion" : "0.1.0",
  "role" : "Type Alias",
  "symbol" : {
    "kind" : "Type Alias",
    "modules" : [
      "Network"
    ],
    "preciseIdentifier" : "c:@T@nw_path_t"
  },
  "title" : "nw_path_t"
}
-->

# nw_path_t

An object that contains information about the properties of the network that a connection uses, or that are available to your app.

```
typealias nw_path_t = any OS_nw_path
```

## Topics

### Checking Path Availability

[`nw_path_get_status(_:)`](/documentation/Network/nw_path_get_status(_:))

Checks whether a path can be used by connections.

[`nw_path_status_t`](/documentation/Network/nw_path_status_t)

Status values indicating whether a path can be used by connections.

### Inspecting Interfaces

[`nw_path_uses_interface_type(_:_:)`](/documentation/Network/nw_path_uses_interface_type(_:_:))

Checks if connections using the path may send traffic over a specific interface type.

[`nw_path_enumerate_interfaces(_:_:)`](/documentation/Network/nw_path_enumerate_interfaces(_:_:))

Enumerates the list of all interfaces available to the path, in order of preference.

[`nw_path_enumerate_interfaces_block_t`](/documentation/Network/nw_path_enumerate_interfaces_block_t)

A block that enumerates the interfaces available to a path.

[`nw_path_enumerate_gateways(_:_:)`](/documentation/Network/nw_path_enumerate_gateways(_:_:))

Enumerates the list of gateways configured on the interfaces available to a path.

[`nw_path_enumerate_gateways_block_t`](/documentation/Network/nw_path_enumerate_gateways_block_t)

A block that enumerates the gateways configured on the interfaces available to a path.

### Checking Path Capabilities

[`nw_path_has_ipv4(_:)`](/documentation/Network/nw_path_has_ipv4(_:))

Checks whether the path can route IPv4 traffic.

[`nw_path_has_ipv6(_:)`](/documentation/Network/nw_path_has_ipv6(_:))

Checks whether the path can route IPv6 traffic.

[`nw_path_has_dns(_:)`](/documentation/Network/nw_path_has_dns(_:))

Checks whether the path has a DNS server configured.

[`nw_path_is_constrained(_:)`](/documentation/Network/nw_path_is_constrained(_:))

Checks whether the path uses an interface in Low Data Mode.

[`nw_path_is_expensive(_:)`](/documentation/Network/nw_path_is_expensive(_:))

Checks whether the path uses an interface that is considered expensive, such as Cellular or a Personal Hotspot.

### Comparing Paths

[`nw_path_is_equal(_:_:)`](/documentation/Network/nw_path_is_equal(_:_:))

Compares if two paths are identical.

### Inspecting Connected Paths

[`nw_path_copy_effective_local_endpoint(_:)`](/documentation/Network/nw_path_copy_effective_local_endpoint(_:))

Accesses the local endpoint in use by a connection’s network path.

[`nw_path_copy_effective_remote_endpoint(_:)`](/documentation/Network/nw_path_copy_effective_remote_endpoint(_:))

Accesses the remote endpoint in use by a connection’s network path.



---

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)