Class

NEIPv6Route

NEIPv6Route contains settings for an IPv6 route.

Declaration

class NEIPv6Route : NSObject

Topics

Creating an IPv6 Route

class func `default`() -> NEIPv6Route

A convenience method for creating the default IPv4 route.

Accessing IPv6 Route Properties

var destinationAddress: String

The destination network address of the route.

var destinationNetworkPrefixLength: NSNumber

The destination network prefix length of the route.

var gatewayAddress: String?

The address of the next-hop gateway of the route.

Relationships

Inherits From

See Also

Accessing IPv6 Properties

var addresses: [String]

The IPv6 addresses to assign to the TUN interface.

var networkPrefixLengths: [NSNumber]

The IPv6 network prefix lengths to assign to the TUN interface.

var includedRoutes: [NEIPv6Route]?

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

var excludedRoutes: [NEIPv6Route]?

The routes that specify what IPv6 network traffic will be routed to the primary physical 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