Instance Property

ipv4Settings

The tunnel IP version 4 settings.

Declaration

@NSCopying var ipv4Settings: NEIPv4Settings? { get set }

Discussion

This property contains the IPv4 routes specifying what IPv4 traffic to route to the tunnel, as well as the IPv4 address and netmask to assign to the TUN interface.

See Also

Accessing Network Properties

class NEIPv4Settings

NEIPv4Settings contains the Internet Protocol version 4 (IPv4) settings of a IP layer network tunnel.

var ipv6Settings: NEIPv6Settings?

The tunnel IP version 6 settings

class NEIPv6Settings

NEIPv6Settings contains the Internet Protocol version 6 (IPv6) settings of a IP layer network tunnel.

var tunnelOverheadBytes: NSNumber?

The number of bytes added to each tunneled packet for storing tunneling protocol headers.

var mtu: NSNumber?

An NSNumber object containing the Maximum Transmission Unit (MTU) size in bytes to assign to the TUN interface.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software