TCPIP_Helper_IsPrivateAddress Function

C

bool TCPIP_Helper_IsPrivateAddress(
    uint32_t ipv4Address
);

Description

This function checks if the passed in IPv4 address is a private or a routable address.

Preconditions

None.

Parameters

ParametersDescription
ipv4AddressIPv4 address to check, network order.

Returns

  • True - The IPv4 address is a private address.

  • False - The IPv4 address is a routable address.

Remarks

None.