X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Packets%2FDefaultBundle%2FLlcSnapPacket.hh;h=33c006925ddf849c55516221a189eab78c0bb556;hb=8674fb1d184e7d620eb7c604957b5b4203df37a6;hp=037b61fcf114268f26165b1f9633f086d5f8db41;hpb=412024ed31a4ab4eaea7a4165a434f8efebee325;p=senf.git diff --git a/Packets/DefaultBundle/LlcSnapPacket.hh b/Packets/DefaultBundle/LlcSnapPacket.hh index 037b61f..33c0069 100644 --- a/Packets/DefaultBundle/LlcSnapPacket.hh +++ b/Packets/DefaultBundle/LlcSnapPacket.hh @@ -38,6 +38,7 @@ namespace senf { /** \brief Parse a LLC/SNAP header + \image html LlcSnapPacket.png \todo document me */ struct LlcSnapPacketParser : public PacketParserBase @@ -85,25 +86,26 @@ namespace senf { { #ifndef DOXYGEN typedef PacketTypeMixin mixin; - typedef ConcretePacket packet; - typedef LlcSnapPacketParser parser; #endif + typedef ConcretePacket packet; ///< LLC/SNAP packet typedef + typedef LlcSnapPacketParser parser; ///< typedef to the parser of LLC/SNAP packet + using mixin::nextPacketRange; using mixin::initSize; using mixin::init; static factory_t nextPacketType(packet p); - static void dump(packet p, std::ostream & os); + /** \brief Dump given LlcSnapPacket in readable form to given output stream */ + static void dump(packet p, std::ostream & os); static void finalize(packet p); }; + /** \brief LLC/SNAP packet typedef */ typedef ConcretePacket LlcSnapPacket; } ///////////////////////////////hh.e//////////////////////////////////////// -#endif -#ifndef SENF_PACKETS_DECL_ONLY //#include "LlcSnapPacket.cci" //#include "LlcSnapPacket.ct" //#include "LlcSnapPacket.cti"