SetGroupName for point-to-point module

This commit is contained in:
Tom Henderson
2015-03-27 11:52:25 -07:00
parent 6641331242
commit 1d86e7edca
4 changed files with 4 additions and 0 deletions

View File

@@ -34,6 +34,7 @@ PointToPointChannel::GetTypeId (void)
{
static TypeId tid = TypeId ("ns3::PointToPointChannel")
.SetParent<Channel> ()
.SetGroupName ("PointToPoint")
.AddConstructor<PointToPointChannel> ()
.AddAttribute ("Delay", "Transmission delay through the channel",
TimeValue (Seconds (0)),

View File

@@ -40,6 +40,7 @@ PointToPointNetDevice::GetTypeId (void)
{
static TypeId tid = TypeId ("ns3::PointToPointNetDevice")
.SetParent<NetDevice> ()
.SetGroupName ("PointToPoint")
.AddConstructor<PointToPointNetDevice> ()
.AddAttribute ("Mtu", "The MAC-level Maximum Transmission Unit",
UintegerValue (DEFAULT_MTU),

View File

@@ -38,6 +38,7 @@ PointToPointRemoteChannel::GetTypeId (void)
{
static TypeId tid = TypeId ("ns3::PointToPointRemoteChannel")
.SetParent<PointToPointChannel> ()
.SetGroupName ("PointToPoint")
.AddConstructor<PointToPointRemoteChannel> ()
;
return tid;

View File

@@ -42,6 +42,7 @@ PppHeader::GetTypeId (void)
{
static TypeId tid = TypeId ("ns3::PppHeader")
.SetParent<Header> ()
.SetGroupName ("PointToPoint")
.AddConstructor<PppHeader> ()
;
return tid;