Instance Property

networkPrefixLengths

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

Declaration

@property(readonly) NSArray<NSNumber *> *networkPrefixLengths;

Discussion

Each network prefix length in this array is combined with the IP address in the corresponding index in addresses to specify an IPv6 network that the TUN interface is (virtually) connected to.

See Also

Accessing IPv6 Properties

addresses

The IPv6 addresses to assign to the TUN interface.

includedRoutes

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

excludedRoutes

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

NEIPv6Route

NEIPv6Route contains settings for an IPv6 route.