Instance Method

initWithDestinationAddress:networkPrefixLength:

Initialize the NEIPv6Route

Declaration

- (instancetype)initWithDestinationAddress:(NSString *)address networkPrefixLength:(NSNumber *)networkPrefixLength;

Parameters

address

An IPv6 address string. This string is combined with networkPrefixLength to specify the destination network of the route.

networkPrefixLength

An IPv6 network prefix length. This number is combined with address to specify the destination network of the route. The network prefix length must be an integer between 0 and 128.

Return Value

The initialized NEIPv6Route object.

See Also

Creating an IPv6 Route

+ defaultRoute

A convenience method for creating the default IPv4 route.