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

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

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

```
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

`TRUE` if the requested information has been returned.

## 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)