|
libosmocore UNKNOWN
Osmocom core library
|
Go to the source code of this file.
Macros | |
| #define | osmo_ntohl(x) |
| #define | osmo_ntohs(x) |
| #define | osmo_htonl(x) |
| #define | osmo_htons(x) |
Functions | |
| static uint32_t | osmo_swab32 (uint32_t in) |
| byte-swap a 32bit word | |
| static uint16_t | osmo_swab16 (uint16_t in) |
| byte-swap a 16bit word | |
| #define osmo_htonl | ( | x | ) |
Referenced by _gsmtap_raw_output(), and gsmtap_makemsg_ex().
| #define osmo_htons | ( | x | ) |
Referenced by gsmtap_makemsg_ex().
| #define osmo_ntohl | ( | x | ) |
| #define osmo_ntohs | ( | x | ) |
|
inlinestatic |
byte-swap a 16bit word
| [in] | in | to be swapped 16bit word |
|
inlinestatic |
byte-swap a 32bit word
| [in] | in | to be swapped 32bit word |