Class

NEIPv4Settings

NEIPv4Settings contains the Internet Protocol version 4 (IPv4) settings of a IP layer network tunnel.

Declaration

@interface NEIPv4Settings : NSObject

Topics

Initializing IPv4 Settings

- initWithAddresses:subnetMasks:

Initialize the NEIPv4Settings object.

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.

NEIPv4Route

NEIPv4Route contains settings for an IPv4 route.

Relationships

Inherits From

See Also

Accessing Network Properties

IPv4Settings

The tunnel IP version 4 settings.

IPv6Settings

The tunnel IP version 6 settings

NEIPv6Settings

NEIPv6Settings contains the Internet Protocol version 6 (IPv6) settings of a IP layer network tunnel.

tunnelOverheadBytes

The number of bytes added to each tunneled packet for storing tunneling protocol headers.

MTU

An NSNumber object containing the Maximum Transmission Unit (MTU) size in bytes to assign to the TUN interface.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software