SCNetworkInterfaceCopyMTU(_:_:_:_:)
Returns the current MTU setting and the range of allowable values for the specified network interface.
Declaration
func SCNetworkInterfaceCopyMTU(_ interface: SCNetworkInterface, _ mtu_cur: UnsafeMutablePointer<Int32>?, _ mtu_min: UnsafeMutablePointer<Int32>?, _ mtu_max: UnsafeMutablePointer<Int32>?) -> BoolParameters
- 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.
See Also
Configuring Network Interfaces
SCNetworkInterfaceCopyAll()SCNetworkInterfaceCopyMediaOptions(_:_:_:_:_:)SCNetworkInterfaceCopyMediaSubTypeOptions(_:_:)SCNetworkInterfaceCopyMediaSubTypes(_:)SCNetworkInterfaceCreateWithInterface(_:_:)SCNetworkInterfaceForceConfigurationRefresh(_:)SCNetworkInterfaceGetBSDName(_:)SCNetworkInterfaceGetConfiguration(_:)SCNetworkInterfaceGetExtendedConfiguration(_:_:)SCNetworkInterfaceGetHardwareAddressString(_:)SCNetworkInterfaceGetInterface(_:)SCNetworkInterfaceGetInterfaceType(_:)SCNetworkInterfaceGetLocalizedDisplayName(_:)SCNetworkInterfaceGetSupportedInterfaceTypes(_:)SCNetworkInterfaceGetSupportedProtocolTypes(_:)