Class

NEIPv4Route

NEIPv4Route contains settings for an IPv4 route.

Declaration

class NEIPv4Route : NSObject

Topics

Creating an IPv4 Route

class func `default`() -> NEIPv4Route

A convenience method for creating the default IPv4 route.

Accessing IPv4 Route Properties

var destinationAddress: String

The destination network address of the route.

var destinationSubnetMask: String

The destination network mask of the route.

var gatewayAddress: String?

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

Relationships

Inherits From

See Also

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.