bug 958 closed
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user