Function

nw_ip_options_set_local_address_preference

Configures a connection to prefer certain types of local addresses, such as temporary or stable.

Declaration

void nw_ip_options_set_local_address_preference(nw_protocol_options_t options, nw_ip_local_address_preference_t preference);

See Also

Configuring IP Connections

nw_protocol_copy_ip_definition

Accesses the system definition of the Internet Protocol.

nw_ip_options_set_version

Sets a required IP version to disable all other versions for a connection.

nw_ip_version_t

IP versions to require on connections and listeners.

nw_ip_options_set_calculate_receive_time

Configures a connection to deliver receive timestamps for IP packets.

nw_ip_options_set_hop_limit

Configures the default hop limit for packets generated by a connection.

nw_ip_options_set_use_minimum_mtu

Configures a connection to use the minimum MTU value, which is 1280 bytes for IPv6.

nw_ip_options_set_disable_fragmentation

Configures a connection to disable fragmentation on outbound packets.

nw_ip_local_address_preference_t

Types of local addresses that can be selected, such as temporary or stable.