Packets/80211Bundle: Complete radiotap dump (incl. unit-test)
[senf.git] / senf / Packets / Packet.hh
index db53195..4698dd3 100644 (file)
@@ -171,7 +171,8 @@ namespace senf {
         // conversion constructors
 
         template <class PacketType>
-        Packet(ConcretePacket<PacketType> packet); ///< Copy-construct Packet from ConcretePacket
+        Packet(ConcretePacket<PacketType> const & packet);
+                                        ///< Copy-construct Packet from ConcretePacket
                                         /**< This constructor allows to convert an arbitrary
                                              ConcretePacket into a general Packet, loosing the
                                              protocol specific interface. */
@@ -489,9 +490,9 @@ namespace senf {
         ///@}
 
     protected:
-        explicit Packet(PacketInterpreterBase::ptr packet);
+        explicit Packet(PacketInterpreterBase::ptr const & packet);
 
-        PacketInterpreterBase::ptr ptr() const;
+        PacketInterpreterBase::ptr const & ptr() const;
 
     private:
         Packet checkNext() const;
@@ -610,7 +611,7 @@ namespace senf {
                                              into the packet representation. The data will \e not be
                                              validated in any way.
 
-                                             \param[in] range <a href="http://www.boost.org/libs/range/index.html">Boost.Range</a>
+                                             \param[in] range <a href="http://www.boost.org/doc/libs/release/libs/range/index.html">Boost.Range</a>
                                                  of data to construct packet from. */
 #endif
 
@@ -672,7 +673,7 @@ namespace senf {
                                              header/interpreter after \a packet in that packets
                                              interpreter chain.
                                              \param[in] packet Packet to append new packet to.
-                                             \param[in] range <a href="http://www.boost.org/libs/range/index.html">Boost.Range</a>
+                                             \param[in] range <a href="http://www.boost.org/doc/libs/release/libs/range/index.html">Boost.Range</a>
                                                  of data to construct packet from. */
 #endif
 
@@ -752,7 +753,7 @@ namespace senf {
     private:
         typedef PacketInterpreter<PacketType> interpreter;
 
-        ConcretePacket(typename interpreter::ptr packet_);
+        ConcretePacket(typename interpreter::ptr const & packet_);
 
         typename interpreter::ptr ptr() const;