X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FPackets%2F80211Bundle%2FRadiotapPacket.hh;h=69414e625459e1bd871aa65471efa0cdf338574c;hb=57daeae6f2e924ce3f16f9677c3474f531cba9e5;hp=bd932ca45ea8577628b347c22462b338ff77b389;hpb=5e6a9673486c8806d807702d1136443822a3ffa1;p=senf.git diff --git a/senf/Packets/80211Bundle/RadiotapPacket.hh b/senf/Packets/80211Bundle/RadiotapPacket.hh index bd932ca..69414e6 100644 --- a/senf/Packets/80211Bundle/RadiotapPacket.hh +++ b/senf/Packets/80211Bundle/RadiotapPacket.hh @@ -4,6 +4,7 @@ // Fraunhofer Institute for Open Communication Systems (FOKUS) // Competence Center NETwork research (NET), St. Augustin, GERMANY // Christian Niephaus +// Stefan Bund // // 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 @@ -30,7 +31,7 @@ #include #include -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { /** \brief Parse Flag field in Radiotap header @@ -214,7 +215,7 @@ namespace senf { size_type bytes() const; - // //////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// # define FIELD(name,type,index) \ typedef type name ## _t; \ @@ -266,7 +267,7 @@ namespace senf { typedef boost::array OffsetTable; - /////////////////////////////////////////////////////////////////////////// + //-//////////////////////////////////////////////////////////////////////// // Offset table handling static OffsetTable & offsetTable(boost::uint32_t presentFlags); @@ -275,7 +276,7 @@ namespace senf { // 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; @@ -316,11 +317,10 @@ namespace senf { typedef ConcretePacket 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); }; @@ -328,7 +328,7 @@ namespace senf { typedef ConcretePacket RadiotapPacket; } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "RadiotapPacket.cci" //#include "RadiotapPacket.ct" #include "RadiotapPacket.cti"