Contents

SCNetworkInterfaceSetMTU(_:_:)

Sets the requested MTU setting for the specified network interface.

Declaration

func SCNetworkInterfaceSetMTU(_ interface: SCNetworkInterface, _ mtu: Int32) -> Bool

Parameters

  • interface:

    The network interface.

  • mtu:

    The MTU setting.

Return Value

TRUE if the configuration was updated; FALSE if an error occurred.

See Also

Configuring Network Interfaces