merge Packet API changes needed for Packet pretty printing.

This commit is contained in:
Mathieu Lacage committed 2007-05-01 11:54:21 +02:00
1 parent 7e9497137e
commit 0da8f5c763
23 files changed
+270 -314

No files matched your search

+3 -2
View File
@@ -212,7 +212,7 @@ Ipv4Header::GetSerializedSize (void) const
return 5 * 4;
}
void
void
Ipv4Header::SerializeTo (Buffer::Iterator start) const
{
Buffer::Iterator i = start;
@@ -255,7 +255,7 @@ Ipv4Header::SerializeTo (Buffer::Iterator start) const
#endif
}
}
void
uint32_t
Ipv4Header::DeserializeFrom (Buffer::Iterator start)
{
Buffer::Iterator i = start;
@@ -302,6 +302,7 @@ Ipv4Header::DeserializeFrom (Buffer::Iterator start)
}
#endif
}
return GetSerializedSize ();
}
}; // namespace ns3