#include "RadiotapPacket.hh"
#include <memory.h>
#include <endian.h>
#include <boost/io/ios_state.hpp>
#include "WLANPacket.hh"
#include "MCSInfo.hh"
#include <byteswap.h>
#include <arpa/inet.h>
#include "radiotap/radiotap_iter.h"
Go to the source code of this file.
◆ ARRAY_SIZE
#define ARRAY_SIZE |
( |
|
arr | ) |
(sizeof(arr) / sizeof(arr[0])) |
◆ END_FLAGS
#define END_FLAGS |
( |
| ) |
os << '\n'; |
◆ ENTER
Value:if (p->name ## Present()) { \
packet::Parser::name ## _t subparser (p->name());
◆ FIELD
#define FIELD |
( |
|
name, |
|
|
|
sign, |
|
|
|
desc |
|
) |
| |
Value:if (p->name ## Present()) \
std::string fieldName(std::string const &s)
◆ FLAG
◆ htole32
#define htole32 |
( |
|
x | ) |
(bswap_32(htonl(x))) |
◆ le32toh
#define le32toh |
( |
|
x | ) |
(ntohl(bswap_32(x))) |
◆ LEAVE
◆ MCS_FLAG
#define MCS_FLAG |
( |
|
name, |
|
|
|
desc, |
|
|
|
longDesc |
|
) |
| |
Value:if (subparser.name ## Known()) { \
if (longDesc) \
os <<
" (" << MCS ##
name ## Desc[subparser.name()] <<
")"; \
os << "\n"; }
std::string fieldName(std::string const &s)
unspecified_keyword_type name
◆ MHZ_TO_KHZ
#define MHZ_TO_KHZ |
( |
|
freq | ) |
((freq) * 1000) |
◆ prefix_
◆ START_FLAGS
◆ SUBFIELD
◆ VHT_FLAG
#define VHT_FLAG |
( |
|
name, |
|
|
|
desc, |
|
|
|
longDesc |
|
) |
| |
Value:if (subparser.name ## Known()) { \
if (longDesc) \
os <<
" (" << VHT ##
name ## Desc[subparser.name()] <<
")"; \
os << "\n"; }
std::string fieldName(std::string const &s)
unspecified_keyword_type name
◆ SENF_PACKET_INSTANTIATE_TEMPLATE()