Enumerations | |
enum | endianness { big, little, raw, swap, guess } |
Functions | |
bool | need_swap (endianness tag, bool guess_swap) |
bool tool::endian::need_swap | ( | endianness | tag, | |
bool | guess_swap | |||
) | [inline] |
Return true when conversion from tag
to the host byte order needs a swap.
If tag
is endian::guess
then return guess_swap
.
References big, guess, little, raw, and swap.
Referenced by phy::header< Bottom >::eq_80211(), wifi::mactime_tracker< Bottom >::tick(), and rtap::header::tsft_get().