Packets/80221Bundle: added MIHFId class
[senf.git] / Packets / DefaultBundle / ICMPv6Packet.hh
index 44a4316..bc7d9c2 100644 (file)
 // Free Software Foundation, Inc.,
 // 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
+/** \file
+    \brief ICMPv6Packet public header */
+
 #ifndef HH_SENF_Packets_DefaultBundle_ICMPv6Packet_
 #define HH_SENF_Packets_DefaultBundle_ICMPv6Packet_ 1
 
 // Custom includes
 #include "../../Packets/Packets.hh"
-#include "../../Packets/DefaultBundle/IPv6Packet.hh"
 
+//#include "ICMPv6Packet.mpp"
+///////////////////////////////hh.p////////////////////////////////////////
 namespace senf 
 {
-
     struct ICMPv6PacketParser : public PacketParserBase
     {
 #       include SENF_FIXED_PARSER()
@@ -46,7 +49,21 @@ namespace senf
         // ICMP type registry
         typedef boost::uint16_t key_t;
     };
-    
+
+    /** \brief ICMP Packet for IPv6
+
+        \par Packet type (typedef):
+            \ref ICMPv6Packet
+
+        \par Fields:
+            \ref ICMPv6PacketParser
+            \image html ICMPv6Packet.png
+        
+        \par Associated registries:
+            \ref ICMPTypes
+
+        \ingroup protocolbundle_default
+     */
     struct ICMPv6PacketType 
         : public PacketTypeBase,
           public PacketTypeMixin<ICMPv6PacketType, ICMPTypes>
@@ -62,7 +79,7 @@ namespace senf
         
         static void dump(packet p, std::ostream & os);
         
-        static IpTypes::key_t nextPacketKey(packet p) { 
+        static key_t nextPacketKey(packet p) { 
             return p->type();
         }
         
@@ -75,4 +92,20 @@ namespace senf
     typedef ConcretePacket<ICMPv6PacketType> ICMPv6Packet;
 }
 
+///////////////////////////////hh.e////////////////////////////////////////
+//#include "IPv4Packet.cci"
+//#include "IPv4Packet.ct"
+//#include "IPv4Packet.cti"
 #endif
+
+\f
+// Local Variables:
+// mode: c++
+// fill-column: 100
+// c-file-style: "senf"
+// indent-tabs-mode: nil
+// ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// comment-column: 40
+// End:
+