Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Unable to render {include} The included page could not be found.
Unable to render {include} The included page could not be found.

NET_UTIL_NET_TO_HOST_32()

Convert 32-bit integer values from network-order to CPU host- order.

Files

net_util.h

Prototype

NET_UTIL_NET_TO_HOST_32(val);

Arguments

val

32-bit integer data value to convert.

Returned Value

32-bit integer value in CPU host-order.

Required Configuration

None.

Notes / Warnings

For microprocessors that require data access to be aligned to appropriate word boundaries, val and any variable to receive the returned 32-bit integer must start on appropriately-aligned CPU addresses. This means that all 32-bit words must start on addresses that are multiples of 4 bytes.

  • No labels