From: g0dil Date: Tue, 17 Jul 2007 07:54:05 +0000 (+0000) Subject: Packets/DefaultBundle: Adjust type names (after removing unneeded types from the... X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=b4743e784a0075abddf59fc3c2e7d6b7882c9c93;p=senf.git Packets/DefaultBundle: Adjust type names (after removing unneeded types from the public interface in previous commit) git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@316 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/Packets/DefaultBundle/EthernetPacket.test.cc b/Packets/DefaultBundle/EthernetPacket.test.cc index 529d317..e569894 100644 --- a/Packets/DefaultBundle/EthernetPacket.test.cc +++ b/Packets/DefaultBundle/EthernetPacket.test.cc @@ -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 diff --git a/Packets/DefaultBundle/IpV6Extensions.test.cc b/Packets/DefaultBundle/IpV6Extensions.test.cc index e60850d..0c7ac31 100644 --- a/Packets/DefaultBundle/IpV6Extensions.test.cc +++ b/Packets/DefaultBundle/IpV6Extensions.test.cc @@ -89,7 +89,7 @@ BOOST_AUTO_UNIT_TEST(ipv6Extension_Fragment_packet) BOOST_CHECK( u.next().is() ); senf::DataPacket d (u.next().as()); - 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 ); }