Contents

vmnet_network_configuration_set_mtu(_:_:)

Configures the maximum transmission unit (MTU) for a vmnet network.

Declaration

func vmnet_network_configuration_set_mtu(_ config: vmnet_network_configuration_ref, _ mtu: UInt32) -> vmnet_return_t

Parameters

  • config:

    The network configuration object to be modified.

  • mtu:

    The MTU.

Return Value

VMNET_SUCCESS on success, error otherwise.

See Also

Customizing a network configuration