nrfxlib API 0.1.0
Loading...
Searching...
No Matches

◆ NRF_HTONL

#define NRF_HTONL (   x)

#include <nrf_modem/include/nrf_socket.h>

Value:
((uint32_t) ((((x) & 0xff000000) >> 24) | \
(((x) & 0x00ff0000) >> 8) | \
(((x) & 0x0000ff00) << 8) | \
(((x) & 0x000000ff) << 24)))

Host to network byte-orders on full word.