Packets: Add introductory parse helper documentation
[senf.git] / Packets / MPEGDVBBundle / SNDUPacket.cc
index 582a2d4..8b5d048 100644 (file)
@@ -28,8 +28,8 @@
 
 // Custom includes
 #include <iomanip>
-#include "Utils/hexdump.hh"
-#include "Packets/DefaultBundle/EthernetPacket.hh"
+#include "../../Utils/hexdump.hh"
+#include "../../Packets/DefaultBundle/EthernetPacket.hh"
 
 
 #define prefix_
 //}
 
 
-prefix_ senf::PacketParserBase::size_type senf::Parse_SNDUPacket::bytes()
-    const
-{
-    if ( d_bit() )
-        return 2 + 2 + 4;  // D-Bit + 15 bits length + 16 bits type field + 32 bits crc
-    else
-        return 2 + 2 + 4 + 6;  // + 6 Byte NPA destination address
-}
-
 prefix_ boost::uint32_t senf::Parse_SNDUPacket::calcCrc()
     const
 {