X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Packets%2FDefaultBundle%2FUDPPacket.test.cc;h=6df940989adb88782cb9be2d88ff768cc5e4537d;hb=a58be9dbd48369f2c0469b5c214406d26f1feefa;hp=744c439d306aabb9d9e2681c28d4b8cbe4b1e856;hpb=d6abda313f70c8a849c5e3f3bbfc12ce301789f1;p=senf.git diff --git a/Packets/DefaultBundle/UDPPacket.test.cc b/Packets/DefaultBundle/UDPPacket.test.cc index 744c439..6df9409 100644 --- a/Packets/DefaultBundle/UDPPacket.test.cc +++ b/Packets/DefaultBundle/UDPPacket.test.cc @@ -1,9 +1,9 @@ // $Id$ // // Copyright (C) 2006 -// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) -// Kompetenzzentrum fuer Satelitenkommunikation (SatCom) -// Stefan Bund +// Fraunhofer Institute for Open Communication Systems (FOKUS) +// Competence Center NETwork research (NET), St. Augustin, GERMANY +// Stefan Bund // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -27,7 +27,7 @@ // Custom includes #include "UDPPacket.hh" -#include "IpV4Packet.hh" +#include "IPv4Packet.hh" #include "../../Utils/auto_unit_test.hh" #include @@ -58,7 +58,7 @@ BOOST_AUTO_UNIT_TEST(udpPacket_create) 0x00, 0x12, 0xfa, 0x6e, 0x54, 0x45, 0x53, 0x54, 0x2d, 0x57, 0x52, 0x49, 0x54, 0x45 }; - senf::IpV4Packet ip (senf::IpV4Packet::create()); + senf::IPv4Packet ip (senf::IPv4Packet::create()); ip->source() = senf::INet4Address::Loopback; ip->destination() = senf::INet4Address::Loopback; ip->df() = true; @@ -73,7 +73,7 @@ BOOST_AUTO_UNIT_TEST(udpPacket_create) // validates, since the checksum is 0 and thus ignored ! BOOST_CHECK( udp->validateChecksum() ); - ip.finalize(); + ip.finalizeAll(); BOOST_CHECK_EQUAL_COLLECTIONS( data, data+sizeof(data), ip.data().begin(), ip.data().end() ); BOOST_CHECK( udp->validateChecksum() );