dump() provides additional byte length
[senf.git] / senf / Packets / DefaultBundle / LlcSnapPacket.hh
index 33c0069..ff6104e 100644 (file)
@@ -29,7 +29,7 @@
 // Custom includes
 #include <algorithm>
 #include "EthernetPacket.hh"
-#include "../../Packets/Packets.hh"
+#include <senf/Packets/Packets.hh>
 
 //#include "LlcSnapPacket.mpp"
 ///////////////////////////////hh.p////////////////////////////////////////
@@ -37,7 +37,7 @@
 namespace senf {
 
     /** \brief Parse a LLC/SNAP header
-        
+
         \image html LlcSnapPacket.png
         \todo document me
      */
@@ -53,7 +53,7 @@ namespace senf {
         SENF_PARSER_FIELD( type_length, UInt16Parser );
 
         SENF_PARSER_FINALIZE(LlcSnapPacketParser);
-        
+
         SENF_PARSER_INIT() {
             dsap() = 0xaa;
             ssap() = 0xaa;
@@ -81,7 +81,7 @@ namespace senf {
         \ingroup protocolbundle_default
      */
     struct LlcSnapPacketType
-        : public PacketTypeBase, 
+        : public PacketTypeBase,
           public PacketTypeMixin<LlcSnapPacketType, EtherTypes>
     {
 #ifndef DOXYGEN
@@ -93,14 +93,16 @@ namespace senf {
         using mixin::nextPacketRange;
         using mixin::initSize;
         using mixin::init;
-        
+
         static factory_t nextPacketType(packet p);
         /** \brief Dump given LlcSnapPacket in readable form to given output stream */
-        static void dump(packet p, std::ostream & os); 
+        static void dump(packet p, std::ostream & os);
         static void finalize(packet p);
     };
 
-    /** \brief LLC/SNAP packet typedef */
+    /** \brief LLC/SNAP packet typedef
+        \ingroup protocolbundle_default
+     */
     typedef ConcretePacket<LlcSnapPacketType> LlcSnapPacket;
 }