// $Id$
//
// Copyright (C) 2006
-// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
-// Kompetenzzentrum fuer Satelitenkommunikation (SatCom)
-// Stefan Bund <stefan.bund@fokus.fraunhofer.de>
+// Fraunhofer Institute for Open Communication Systems (FOKUS)
+// Competence Center NETwork research (NET), St. Augustin, GERMANY
+// Stefan Bund <g0dil@berlios.de>
//
// 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
// Custom includes
#include "UDPPacket.hh"
-#include "IpV4Packet.hh"
+#include "IPv4Packet.hh"
#include "../../Utils/auto_unit_test.hh"
#include <boost/test/test_tools.hpp>
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;
// 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() );