<!--
{
  "availability" : [
    "macOS: 10.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SystemConfiguration",
  "identifier" : "/documentation/SystemConfiguration/SCNetworkInterfaceGetInterface(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "System Configuration"
    ],
    "preciseIdentifier" : "c:@F@SCNetworkInterfaceGetInterface"
  },
  "title" : "SCNetworkInterfaceGetInterface(_:)"
}
-->

# SCNetworkInterfaceGetInterface(_:)

Returns the underlying interface, for layered network interfaces.

```
func SCNetworkInterfaceGetInterface(_ interface: SCNetworkInterface) -> SCNetworkInterface?
```

## Parameters

`interface`

The network interface.

## Return Value

The underlying network interface, or `NULL` if the specified interface is a leaf interface.

## Discussion

---

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)