Class

NEPacketTunnelNetworkSettings

The configuration for a packet tunnel provider’s virtual interface.

Declaration

@interface NEPacketTunnelNetworkSettings : NETunnelNetworkSettings

Topics

Accessing Network Properties

IPv4Settings

The tunnel IP version 4 settings.

NEIPv4Settings

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

IPv6Settings

The tunnel IP version 6 settings

NEIPv6Settings

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

tunnelOverheadBytes

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

MTU

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

Relationships

See Also

Packet Tunnel Provider

NEPacketTunnelProvider

The principal class for a packet tunnel provider app extension.

NETunnelProvider

An abstract base class shared by NEPacketTunnelProvider and NEAppProxyProvider.

NEProvider

An abstract base class for all NetworkExtension providers.

NETunnelNetworkSettings

The configuration for a tunnel provider’s virtual 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