View | Details | Raw Unified | Return to bug 2569
Collapse All | Expand All

(-)a/src/network/model/address.cc (-2 / +2 lines)
 Lines 151-157    Link Here 
151
}
151
}
152
152
153
void
153
void
154
Address::Serialize (TagBuffer buffer) const
154
Address::Serialize (TagBuffer &buffer) const
155
{
155
{
156
  NS_LOG_FUNCTION (this << &buffer);
156
  NS_LOG_FUNCTION (this << &buffer);
157
  buffer.WriteU8 (m_type);
157
  buffer.WriteU8 (m_type);
 Lines 160-166    Link Here 
160
}
160
}
161
161
162
void
162
void
163
Address::Deserialize (TagBuffer buffer)
163
Address::Deserialize (TagBuffer &buffer)
164
{
164
{
165
  NS_LOG_FUNCTION (this << &buffer);
165
  NS_LOG_FUNCTION (this << &buffer);
166
  m_type = buffer.ReadU8 ();
166
  m_type = buffer.ReadU8 ();
(-)a/src/network/model/address.h (-2 / +2 lines)
 Lines 216-228    Link Here 
216
   *
216
   *
217
   * \param buffer output buffer that gets written with this Address
217
   * \param buffer output buffer that gets written with this Address
218
   */
218
   */
219
  void Serialize (TagBuffer buffer) const;
219
  void Serialize (TagBuffer &buffer) const;
220
  /**
220
  /**
221
   * \param buffer buffer to read address from
221
   * \param buffer buffer to read address from
222
   * 
222
   * 
223
   * The input address buffer is expected to be in host byte order format.
223
   * The input address buffer is expected to be in host byte order format.
224
   */
224
   */
225
  void Deserialize (TagBuffer buffer);
225
  void Deserialize (TagBuffer &buffer);
226
226
227
private:
227
private:
228
  /**
228
  /**

Return to bug 2569