Packets/DefaultBundle: Adjust type names (after removing unneeded types from the...
g0dil [Tue, 17 Jul 2007 07:54:05 +0000 (07:54 +0000)]
git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@316 270642c3-0616-0410-b53a-bc976706d245

Packets/DefaultBundle/EthernetPacket.test.cc
Packets/DefaultBundle/IpV6Extensions.test.cc

index 529d317..e569894 100644 (file)
@@ -37,7 +37,7 @@
 
 BOOST_AUTO_UNIT_TEST(ethernetPacket_packet)
 {
-    senf::EthernetPacket::byte data[] = 
+    senf::PacketData::byte data[] = 
         { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06,  // destination MAC
           0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C,  // source MAC
           0x10, 0x11 };                        // EtherType
index e60850d..0c7ac31 100644 (file)
@@ -89,7 +89,7 @@ BOOST_AUTO_UNIT_TEST(ipv6Extension_Fragment_packet)
     BOOST_CHECK( u.next().is<senf::DataPacket>() );
 
     senf::DataPacket d (u.next().as<senf::DataPacket>());
-    senf::Packet::iterator i (u.next().data().begin());
+    senf::PacketData::iterator i (u.next().data().begin());
     BOOST_CHECK_EQUAL( d.size(), 4u );
     BOOST_CHECK_EQUAL( d.data()[0], 0x11 );
 }