SENF_PARSER_FINALIZE ( RadiotapPacketParser_Flags );
- friend class RadiotapPacketParser;
+ friend struct RadiotapPacketParser;
};
/** \brief Parse in Radiotap Header channel frequency and flag field
static const size_type fixed_bytes = 0; // hide this member, just in case
typedef boost::array<size_type,MAX_INDEX+2> OffsetTable;
+ typedef std::map<boost::uint32_t, OffsetTable> OffsetMap;
//-////////////////////////////////////////////////////////////////////////
// Offset table handling
void updatePresentFlags(boost::uint32_t flags);
void insertRemoveBytes(unsigned from, unsigned to, int bytes);
+ static OffsetMap offsetMap_;
OffsetTable const * currentTable_;
- friend class RadiotapPacketType;
+ friend struct RadiotapPacketType;
};
/** \brief Radiotap packet