Contents

vmnet_network_configuration_set_ipv4_subnet(_:_:_:)

Configures the IPv4 addresses of a vmnet network.

Declaration

func vmnet_network_configuration_set_ipv4_subnet(_ config: vmnet_network_configuration_ref, _ subnet_addr: UnsafePointer<in_addr>, _ subnet_mask: UnsafePointer<in_addr>) -> vmnet_return_t

Parameters

  • config:

    The network configuration object to be modified.

  • subnet_addr:

    The subnet address.

  • subnet_mask:

    The subnet mask.

Return Value

VMNET_SUCCESS on success, error otherwise.

Discussion

See Also

Customizing a network configuration