Socket/Protocols/Raw: EUI64 documentation
[senf.git] / Packets / Packet.ct
index 48b83fc..073a9f8 100644 (file)
@@ -1,8 +1,8 @@
 // $Id$
 //
-// Copyright (C) 2007 
-// Fraunhofer Institute for Open Communication Systems (FOKUS) 
-// Competence Center NETwork research (NET), St. Augustin, GERMANY 
+// Copyright (C) 2007
+// 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
 // senf::Packet
 
 template <class OtherPacket>
-prefix_ OtherPacket senf::Packet::find()
+prefix_ OtherPacket senf::Packet::find(NoThrow_t)
     const
 {
     Packet p (*this);
     while (p && ! p.is<OtherPacket>()) 
-        p = p.next();
+        p = p.next(nothrow);
     if (p) 
         return p.as<OtherPacket>();
     else
@@ -47,12 +47,12 @@ prefix_ OtherPacket senf::Packet::find()
 }
 
 template <class OtherPacket>
-prefix_ OtherPacket senf::Packet::rfind()
+prefix_ OtherPacket senf::Packet::rfind(NoThrow_t)
     const
 {
     Packet p (*this);
     while (p && ! p.is<OtherPacket>()) 
-        p = p.prev();
+        p = p.prev(nothrow);
     if (p) 
         return p.as<OtherPacket>();
     else