bug 958 closed

This commit is contained in:
Nicola Baldo
2010-08-02 13:15:36 +02:00
parent ba41fce14c
commit 3e2557f03a
6 changed files with 29 additions and 16 deletions

View File

@@ -43,7 +43,7 @@ LlcSnapHeader::GetType (void)
uint32_t
LlcSnapHeader::GetSerializedSize (void) const
{
return 1 + 1 + 1 + 3 + 2;
return LLC_SNAP_HEADER_LENGTH;
}
TypeId

View File

@@ -27,6 +27,11 @@
namespace ns3 {
/**
* The length in octects of the LLC/SNAP header
*/
static const uint16_t LLC_SNAP_HEADER_LENGTH = 8;
/**
* \ingroup node
*