---
title: "SCNetworkInterfaceGetInterface(_:)"
framework: systemconfiguration
role: symbol
role_heading: Function
path: "systemconfiguration/scnetworkinterfacegetinterface(_:)"
---

# SCNetworkInterfaceGetInterface(_:)

Returns the underlying interface, for layered network interfaces.

## Declaration

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

## Parameters

- `interface`: The network interface.

## Return Value

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

## See Also

### Configuring Network Interfaces

- [SCNetworkInterfaceCopyAll()](systemconfiguration/scnetworkinterfacecopyall().md)
- [SCNetworkInterfaceCopyMTU(_:_:_:_:)](systemconfiguration/scnetworkinterfacecopymtu(_:_:_:_:).md)
- [SCNetworkInterfaceCopyMediaOptions(_:_:_:_:_:)](systemconfiguration/scnetworkinterfacecopymediaoptions(_:_:_:_:_:).md)
- [SCNetworkInterfaceCopyMediaSubTypeOptions(_:_:)](systemconfiguration/scnetworkinterfacecopymediasubtypeoptions(_:_:).md)
- [SCNetworkInterfaceCopyMediaSubTypes(_:)](systemconfiguration/scnetworkinterfacecopymediasubtypes(_:).md)
- [SCNetworkInterfaceCreateWithInterface(_:_:)](systemconfiguration/scnetworkinterfacecreatewithinterface(_:_:).md)
- [SCNetworkInterfaceForceConfigurationRefresh(_:)](systemconfiguration/scnetworkinterfaceforceconfigurationrefresh(_:).md)
- [SCNetworkInterfaceGetBSDName(_:)](systemconfiguration/scnetworkinterfacegetbsdname(_:).md)
- [SCNetworkInterfaceGetConfiguration(_:)](systemconfiguration/scnetworkinterfacegetconfiguration(_:).md)
- [SCNetworkInterfaceGetExtendedConfiguration(_:_:)](systemconfiguration/scnetworkinterfacegetextendedconfiguration(_:_:).md)
- [SCNetworkInterfaceGetHardwareAddressString(_:)](systemconfiguration/scnetworkinterfacegethardwareaddressstring(_:).md)
- [SCNetworkInterfaceGetInterfaceType(_:)](systemconfiguration/scnetworkinterfacegetinterfacetype(_:).md)
- [SCNetworkInterfaceGetLocalizedDisplayName(_:)](systemconfiguration/scnetworkinterfacegetlocalizeddisplayname(_:).md)
- [SCNetworkInterfaceGetSupportedInterfaceTypes(_:)](systemconfiguration/scnetworkinterfacegetsupportedinterfacetypes(_:).md)
- [SCNetworkInterfaceGetSupportedProtocolTypes(_:)](systemconfiguration/scnetworkinterfacegetsupportedprotocoltypes(_:).md)
