IP4

OcaIP4Address

using OcaIP4Address = OcaString

IP version 4 network address in string form “x1.x2.x3.x4” where the x’s are decimal integers in the range 0…255.

OcaIP4AddressAndPrefix

using OcaIP4AddressAndPrefix = OcaString

IP version4 address prefix in string form “x1.x2.x3.x4/n” where the x’s are decimal integers in the range 0…255, and n is an integer in the range 0…31. n specifies the number of bits occupied by the prefix. This construct replaces the conventional IPv4 address + subnet mask. Examples 123.456.789.001 / 16 = 123.456.789.001 + 255.255.0.0 123.456.789.001 / 24 = 123.456.789.001 + 255.255.255.0

OcaIP4Gateway

struct OcaIP4Gateway

Descriptor of an IPV4 gateway

OcaIP4AddressAndPrefix DestinationPrefix

Prefix of destinations to which this gateway provides access.

OcaIP4Address GatewayAddress

Address of this gateway

OcaUint16 Metric

Cost of using this gateway. 0=lowest.

OcaIP4AutoconfigMode

enum OcaIP4AutoconfigMode : uint8_t

Autoconfiguration mode

enumerator None = 0

No autoconfig - manual address entry

enumerator DHCP = 1

DHCP

enumerator DHCP_LINKLOCAL = 2

DHCP with link-local fallback

enumerator LINKLOCAL = 3

Link-local only

OcaIP4NetworkSettings

struct OcaIP4NetworkSettings

IPv4 parameters for OcaNetworkInterface. ** Stored in the .CurrentNetworkSettings** and .TargetNetworkSettings properties.

OcaIP4AddressAndPrefix AddressAndPrefix

Network address and prefix of this interface

OcaIP4AutoconfigMode AutoconfigMode

See OcaIP4AutoconfigMode definition.

OcaIP4Address DhcpServerAddress

DHCP server address

OcaIP4Address DefaultGatewayAddress

Address of default gateway. 0.0.0.0 means there is none.

OcaList<OcaIP4Gateway> AdditionalGateways

Descriptor(s) of specific gateway(s). May be empty.

OcaList<OcaIP4Address> DnsServerAddresses

DNS server address(es)

OcaParameterRecord AdditionalParameters

Additional connection parameters, if any.