 |
USRP Hardware Driver and USRP Manual
Version: 3.15.0.0-2+b1
UHD and USRP Manual
|
|
Go to the documentation of this file.
8 #ifndef INCLUDED_UHD_UTILS_BYTESWAP_HPP
9 #define INCLUDED_UHD_UTILS_BYTESWAP_HPP
32 template <
typename T> T
ntohx(T);
35 template <
typename T> T
htonx(T);
41 template <
typename T> T
wtohx(T);
47 template <
typename T> T
htowx(T);
T htonx(T)
host to network: short, long, or long-long
Definition: byteswap.ipp:120
T htowx(T)
host to worknet: short, long, or long-long
Definition: byteswap.ipp:138
Definition: build_info.hpp:13
T wtohx(T)
worknet to host: short, long, or long-long
Definition: byteswap.ipp:129
uint16_t byteswap(uint16_t)
perform a byteswap on a 16 bit integer
Definition: byteswap.ipp:87
T ntohx(T)
network to host: short, long, or long-long
Definition: byteswap.ipp:111