---
title: "SCNetworkInterfaceCopyMTU(_:_:_:_:)"
framework: systemconfiguration
role: symbol
role_heading: Function
path: "systemconfiguration/scnetworkinterfacecopymtu(_:_:_:_:)"
---

# SCNetworkInterfaceCopyMTU(_:_:_:_:)

Returns the current MTU setting and the range of allowable values for the specified network interface.

## Declaration

```swift
func SCNetworkInterfaceCopyMTU(_ interface: SCNetworkInterface, _ mtu_cur: UnsafeMutablePointer<Int32>?, _ mtu_min: UnsafeMutablePointer<Int32>?, _ mtu_max: UnsafeMutablePointer<Int32>?) -> Bool
```

## Parameters

- `interface`: The network interface.
- `mtu_cur`: On output, the current MTU setting for the interface.
- `mtu_min`: On output, the minimum MTU setting for the interface. If negative, the minimum setting could not be determined.
- `mtu_max`: On output, the maximum MTU setting for the interface. If negative, the maximum setting could not be determined.

## Return Value

Return Value TRUE if the requested information has been returned.

## See Also

### Configuring Network Interfaces

- [SCNetworkInterfaceCopyAll()](systemconfiguration/scnetworkinterfacecopyall().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)
- [SCNetworkInterfaceGetInterface(_:)](systemconfiguration/scnetworkinterfacegetinterface(_:).md)
- [SCNetworkInterfaceGetInterfaceType(_:)](systemconfiguration/scnetworkinterfacegetinterfacetype(_:).md)
- [SCNetworkInterfaceGetLocalizedDisplayName(_:)](systemconfiguration/scnetworkinterfacegetlocalizeddisplayname(_:).md)
- [SCNetworkInterfaceGetSupportedInterfaceTypes(_:)](systemconfiguration/scnetworkinterfacegetsupportedinterfacetypes(_:).md)
- [SCNetworkInterfaceGetSupportedProtocolTypes(_:)](systemconfiguration/scnetworkinterfacegetsupportedprotocoltypes(_:).md)
