Packets: Add short documentation for most internal classes
[senf.git] / Packets / DefaultBundle / EthernetPacket.hh
index f01dab2..ffa1f4b 100644 (file)
 // Custom includes
 #include <algorithm>
 #include <boost/array.hpp>
-#include "Packets/PacketType.hh"
-#include "Packets/ParseInt.hh"
-#include "Packets/PacketRegistry.hh"
-#include "Packets/PacketParser.hh"
+#include "Packets/Packets.hh"
 
 //#include "EthernetPacket.mpp"
 ///////////////////////////////hh.p////////////////////////////////////////
 
 namespace senf {
 
+    ///\addtogroup protocolbundle_default
+    ///@{
+
     struct MACAddress
         : boost::array<PacketParserBase::byte,6>
     {
@@ -146,10 +146,14 @@ namespace senf {
     };
 
     typedef EthVLanPacketType::packet EthVLanPacket;
+
+    ///@}
 }
 
 
 ///////////////////////////////hh.e////////////////////////////////////////
+#endif
+#ifndef SENF_PACKETS_DECL_ONLY
 //#include "EthernetPacket.cci"
 #include "EthernetPacket.ct"
 //#include "EthernetPacket.cti"