Virgil IoT KIT
Macros
config/pc/endian-config.h File Reference

PC configuration : endianness configuration. More...

#include <arpa/inet.h>

Go to the source code of this file.

Macros

#define VS_IOT_NTOHS   ntohs
 Converts the unsigned short integer from network byte order to host byte order. More...
 
#define VS_IOT_NTOHL   ntohl
 Converts the unsigned integer from network byte order to host byte order. More...
 
#define VS_IOT_HTONS   htons
 Converts the unsigned short integer from host byte order to network byte order. More...
 
#define VS_IOT_HTONL   htonl
 Converts the unsigned integer from host byte order to network byte order. More...
 

Detailed Description

PC configuration : endianness configuration.

Macro Definition Documentation

◆ VS_IOT_HTONL

#define VS_IOT_HTONL   htonl

Converts the unsigned integer from host byte order to network byte order.

◆ VS_IOT_HTONS

#define VS_IOT_HTONS   htons

Converts the unsigned short integer from host byte order to network byte order.

◆ VS_IOT_NTOHL

#define VS_IOT_NTOHL   ntohl

Converts the unsigned integer from network byte order to host byte order.

◆ VS_IOT_NTOHS

#define VS_IOT_NTOHS   ntohs

Converts the unsigned short integer from network byte order to host byte order.