Contents

vmnet_network_configuration_set_external_interface(_:_:)

Configures the external interface of a vmnet network.

Declaration

func vmnet_network_configuration_set_external_interface(_ config: vmnet_network_configuration_ref, _ interface_name: UnsafePointer<CChar>) -> vmnet_return_t

Parameters

  • config:

    The network configuration object to be modified.

  • interface_name:

    The name of the external interface

Return Value

VMNET_SUCCESS on success, error otherwise.

Discussion

This is only applicable to networks of VMNET_SHARED_MODE.

See Also

Customizing a network configuration