SetGroupName for point-to-point module
This commit is contained in:
@@ -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)),
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -38,6 +38,7 @@ PointToPointRemoteChannel::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::PointToPointRemoteChannel")
|
||||
.SetParent<PointToPointChannel> ()
|
||||
.SetGroupName ("PointToPoint")
|
||||
.AddConstructor<PointToPointRemoteChannel> ()
|
||||
;
|
||||
return tid;
|
||||
|
||||
@@ -42,6 +42,7 @@ PppHeader::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::PppHeader")
|
||||
.SetParent<Header> ()
|
||||
.SetGroupName ("PointToPoint")
|
||||
.AddConstructor<PppHeader> ()
|
||||
;
|
||||
return tid;
|
||||
|
||||
Reference in New Issue
Block a user