Merge node and common modules into new network module
This commit is contained in:
1 parent
fcf182c8f8
commit
ca7b93cc3d
272 files changed
+329
-385
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user