Jump to main content

##

# 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

Parameters | Description
--- | ---
ipv4Address | IPv4 address to check, network order.

## Returns

- True - The IPv4 address is a private address.
- False - The IPv4 address is a routable address.

## Remarks

None.