// Custom includes
#include <algorithm>
-#include "../../Packets/Packets.hh"
+#include <senf/Packets/Packets.hh>
//#include "TLVPacket.mpp"
///////////////////////////////hh.p////////////////////////////////////////
typedef MacAddressesTLVParser parser;
...
static void finalize(ConcretePacket<MacAddressesTLVPacketType> p) {
- p->shrinkLength();
+ p->finalizeLength();
}
};
\endcode
static void dump(packet p, std::ostream & os);
static void finalize(packet p); ///< Finalize packet.
/**< shrink size of length field to minimum
- \see BaseTLVPacketParser::shrinkLength() */
+ \see BaseTLVPacketParser::finalizeLength() */
};