Class

NEIPv4Route

NEIPv4Route contains settings for an IPv4 route.

Declaration

@interface NEIPv4Route : NSObject

Topics

Creating an IPv4 Route

+ defaultRoute

A convenience method for creating the default IPv4 route.

Accessing IPv4 Route Properties

destinationAddress

The destination network address of the route.

destinationSubnetMask

The destination network mask of the route.

gatewayAddress

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

Relationships

Inherits From

See Also

Accessing IPv4 Properties

addresses

The IPv4 addresses to assign to the TUN interface.

subnetMasks

The IPv4 network masks to assign to the TUN interface.

includedRoutes

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

excludedRoutes

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