Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Anchor10947181094718 NET_UTIL_NET_TO_HOST_32() Anchor12651151265115Convert 32-bit integer values from network-order to CPU host- order.anchor10947201094720

Files

Anchor10947211094721net_util.h Anchor10947221094722

Prototype

HTML Table
summary
classCode_Listing
Table Row (tr)
Table Cell (td)
Anchor
11255281125528
Code Block

          NET_UTIL_NET_TO_HOST_32(val);

...

Arguments

...

val Anchor12614451261445

32-bit integer data value to convert.

...

Returned Value

...

32-bit integer value in CPU host-order. Anchor10947281094728

Required Configuration

...

10947291094729None. Anchor10947301094730

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.