Instance Property

tunnelOverheadBytes

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

Declaration

@NSCopying var tunnelOverheadBytes: NSNumber? { get set }

Discussion

The value of this property is subtracted from the Maximum Transmission Unit (MTU) of the tunnel’s underlying physical network interface to compute the MTU of the TUN interface.

See Also

Accessing Network Properties

var ipv4Settings: NEIPv4Settings?

The tunnel IP version 4 settings.

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 mtu: NSNumber?

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