Class

NEIPv4Settings

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

Declaration

class NEIPv4Settings : NSObject

Topics

Initializing IPv4 Settings

init(addresses: [String], subnetMasks: [String])

Initialize the NEIPv4Settings object.

Accessing IPv4 Properties

var addresses: [String]

The IPv4 addresses to assign to the TUN interface.

var subnetMasks: [String]

The IPv4 network masks to assign to the TUN interface.

var includedRoutes: [NEIPv4Route]?

The routes that specify what IPv4 network traffic will be routed to the TUN interface.

var excludedRoutes: [NEIPv4Route]?

The routes that specify what IPv4 network traffic will be routed to the primary physical interface.

class NEIPv4Route

NEIPv4Route contains settings for an IPv4 route.

Relationships

Inherits From

See Also

Accessing Network Properties

var ipv4Settings: NEIPv4Settings?

The tunnel IP version 4 settings.

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.