// Fraunhofer Institute for Open Communication Systems (FOKUS)
// Competence Center NETwork research (NET), St. Augustin, GERMANY
// Christian Niephaus <cni@berlios.de>
+// Stefan Bund <g0dil@berlios.de>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
#include <senf/Packets/Packets.hh>
#include <boost/array.hpp>
-///////////////////////////////hh.p////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
namespace senf {
/** \brief Parse Flag field in Radiotap header
size_type bytes() const;
- // ////////////////////////////////////////////////////////////////////////
+ //-////////////////////////////////////////////////////////////////////////
# define FIELD(name,type,index) \
typedef type name ## _t; \
typedef boost::array<size_type,MAX_INDEX+2> OffsetTable;
- ///////////////////////////////////////////////////////////////////////////
+ //-////////////////////////////////////////////////////////////////////////
// Offset table handling
static OffsetTable & offsetTable(boost::uint32_t presentFlags);
// Generate an offset table just from the present flags
static void buildOffsetTable(boost::uint32_t presentFlags, OffsetTable & table);
- ///////////////////////////////////////////////////////////////////////////
+ //-////////////////////////////////////////////////////////////////////////
OffsetTable const & currentTable() const;
OffsetTable const & getTable(boost::uint32_t presentFlags) const;
typedef ConcretePacket<RadiotapPacketType> packet;
typedef RadiotapPacketParser parser;
- using mixin::init;
using mixin::initSize;
+ static void init(packet p);
static void dump(packet p, std::ostream &os);
- static void finalize(packet p);
static factory_t nextPacketType(packet p);
static optional_range nextPacketRange(packet p);
};
typedef ConcretePacket<RadiotapPacketType> RadiotapPacket;
}
-///////////////////////////////hh.e////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
#include "RadiotapPacket.cci"
//#include "RadiotapPacket.ct"
#include "RadiotapPacket.cti"