From: tho Date: Fri, 19 Oct 2007 11:20:08 +0000 (+0000) Subject: image added for tlv X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=b58cd652f29256e1a0d774159bc8da7357d0df8d;p=senf.git image added for tlv git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@469 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/Packets/DefaultBundle/IpV6Packet.test.cc b/Packets/DefaultBundle/IpV6Packet.test.cc index 57c8dc4..d19e050 100644 --- a/Packets/DefaultBundle/IpV6Packet.test.cc +++ b/Packets/DefaultBundle/IpV6Packet.test.cc @@ -47,7 +47,6 @@ BOOST_AUTO_UNIT_TEST(ipV6Packet_packet) senf::IpV6Packet p (senf::IpV6Packet::create(data)); - BOOST_CHECK_EQUAL( p->version(), 0x06u ); BOOST_CHECK_EQUAL( p->trafficClass(), 0x01u ); BOOST_CHECK_EQUAL( p->flowLabel(), 0x22030u ); diff --git a/Packets/MPEGDVBBundle/SConscript b/Packets/MPEGDVBBundle/SConscript index b52cf4c..2a0c12c 100644 --- a/Packets/MPEGDVBBundle/SConscript +++ b/Packets/MPEGDVBBundle/SConscript @@ -13,5 +13,8 @@ SENFSCons.Object(env, target = 'MPEGDVBBundle', sources=sources, LIBS = ['Packets', 'Socket', 'Utils']) SENFSCons.Lib(env, library = 'Packets_MPEGDVBBundle', sources = sources[0], LIBS = ['Packets', 'Socket', 'Utils'], no_includes = 1) - -SENFSCons.Doxygen(env) + +myEnv = env.Clone(DIA2PNGMAXWIDTH = 600) +SENFSCons.Doxygen(env, extra_sources = [ + myEnv.Dia2Png("TLV.dia", ) +]) diff --git a/Packets/MPEGDVBBundle/TLV.dia b/Packets/MPEGDVBBundle/TLV.dia new file mode 100644 index 0000000..d3bdc7c Binary files /dev/null and b/Packets/MPEGDVBBundle/TLV.dia differ diff --git a/Packets/MPEGDVBBundle/TLVPacket.cc b/Packets/MPEGDVBBundle/TLVPacket.cc index 628bf55..44c6338 100644 --- a/Packets/MPEGDVBBundle/TLVPacket.cc +++ b/Packets/MPEGDVBBundle/TLVPacket.cc @@ -60,8 +60,8 @@ prefix_ void senf::Parse_TLVPacketLength::value(value_type const & v) if (v < 128u) { if (bytes() != 1) { resize(1); - safeThis->extended_length_flag() = false; - } + safeThis->extended_length_flag() = false; + } safeThis->fixed_length_field() = v; return; } diff --git a/Packets/MPEGDVBBundle/TLVPacket.hh b/Packets/MPEGDVBBundle/TLVPacket.hh index f81eafd..f52da1c 100644 --- a/Packets/MPEGDVBBundle/TLVPacket.hh +++ b/Packets/MPEGDVBBundle/TLVPacket.hh @@ -80,7 +80,7 @@ namespace senf { /** \brief parse TLVPacket Packet - XXX + \see TLVPacketType */ @@ -95,6 +95,7 @@ namespace senf { }; /** \brief TLV Packet + \image html TLV.png \par Packet type (typedef): \ref TLVPacket