Merge node and common modules into new network module

This commit is contained in:
Tom Henderson committed 2011-02-21 09:11:37 -08:00
1 parent fcf182c8f8
commit ca7b93cc3d
272 files changed
+329 -385

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
#include "header.h"
namespace ns3 {
NS_OBJECT_ENSURE_REGISTERED (Header);
Header::~Header ()
{}
TypeId
Header::GetTypeId (void)
{
static TypeId tid = TypeId ("ns3::Header")
.SetParent<Chunk> ()
;
return tid;
}
std::ostream & operator << (std::ostream &os, const Header &header)
{
header.Print (os);
return os;
}
} // namespace ns3