aroarfw
|
Go to the source code of this file.
Macros | |
#define | RBO_H2NB16(buf, v) |
Convert a 16 bit integer into a 2 byte buffer in network byte order. More... | |
#define | RBO_NB2H16(buf) |
Convert a 2 byte buffer into a 16 bit integer in host byte order. More... | |
#define | RBO_H2NB32(buf, v) |
Convert a 32 bit integer into a 4 byte buffer in network byte order. More... | |
#define | RBO_NB2H32(buf) |
Convert a 4 byte buffer into a 32 bit integer in host byte order. More... | |
#define RBO_H2NB16 | ( | buf, | |
v | |||
) |
Convert a 16 bit integer into a 2 byte buffer in network byte order.
This function converts a 16 bit integer in host byte order into network byte order and puts it into a 2 byte buffer.
buf | The buffer to put the integer in |
v | The integer to put in the buffer |
Definition at line 37 of file byteorder.h.
#define RBO_H2NB32 | ( | buf, | |
v | |||
) |
Convert a 32 bit integer into a 4 byte buffer in network byte order.
This function converts a 32 bit integer in host byte order into network byte order and puts it into a 4 byte buffer.
buf | The buffer to put the integer in |
v | The integer to put in the buffer |
Definition at line 64 of file byteorder.h.
#define RBO_NB2H16 | ( | buf) |
Convert a 2 byte buffer into a 16 bit integer in host byte order.
This function converts a 2 byte buffer in network byte order into a 16 bit integer in host byte order.
buf | The buffer to get the integer from |
Definition at line 50 of file byteorder.h.
#define RBO_NB2H32 | ( | buf) |
Convert a 4 byte buffer into a 32 bit integer in host byte order.
This function converts a 4 byte buffer in network byte order into a 32 bit integer in host byte order.
buf | The buffer to get the integer from |
Definition at line 79 of file byteorder.h.