Initializer

init(destinationAddress:subnetMask:)

Initialize the NEIPv4Route object.

Declaration

init(destinationAddress address: String, subnetMask: String)

Parameters

address

An IPv4 address string. This string is combined with subnetMask to specify the destination network of the route.

subnetMask

An IPv4 network mask string. This string is combined with address to specify the destination network of the route.

See Also

Creating an IPv4 Route

class func `default`() -> NEIPv4Route

A convenience method for creating the default IPv4 route.