X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Packets%2FPacket.ct;h=073a9f8a935746cc5f9862f68681a825d6d036a4;hb=5443435c4c2b6e4386c5334b5b8358273f2bae93;hp=c048952365afdc33abebec2ac70fcac9a125796e;hpb=6116cb96ea7bdcb42b7d12165a05fcbe0687226d;p=senf.git diff --git a/Packets/Packet.ct b/Packets/Packet.ct index c048952..073a9f8 100644 --- a/Packets/Packet.ct +++ b/Packets/Packet.ct @@ -1,8 +1,8 @@ // $Id$ // -// Copyright (C) 2007 -// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) -// Kompetenzzentrum fuer Satelitenkommunikation (SatCom) +// Copyright (C) 2007 +// 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 @@ -34,12 +34,12 @@ // senf::Packet template -prefix_ OtherPacket senf::Packet::findNext(NoThrow_t) +prefix_ OtherPacket senf::Packet::find(NoThrow_t) const { Packet p (*this); while (p && ! p.is()) - p = p.next(); + p = p.next(nothrow); if (p) return p.as(); else @@ -47,12 +47,12 @@ prefix_ OtherPacket senf::Packet::findNext(NoThrow_t) } template -prefix_ OtherPacket senf::Packet::findPrev(NoThrow_t) +prefix_ OtherPacket senf::Packet::rfind(NoThrow_t) const { Packet p (*this); while (p && ! p.is()) - p = p.prev(); + p = p.prev(nothrow); if (p) return p.as(); else