SetGroupName for internet module
This commit is contained in:
@@ -41,6 +41,7 @@ ArpCache::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::ArpCache")
|
||||
.SetParent<Object> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddAttribute ("AliveTimeout",
|
||||
"When this timeout expires, "
|
||||
"the matching cache entry needs refreshing",
|
||||
|
||||
@@ -98,6 +98,7 @@ ArpHeader::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::ArpHeader")
|
||||
.SetParent<Header> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<ArpHeader> ()
|
||||
;
|
||||
return tid;
|
||||
|
||||
@@ -46,6 +46,7 @@ ArpL3Protocol::GetTypeId (void)
|
||||
static TypeId tid = TypeId ("ns3::ArpL3Protocol")
|
||||
.SetParent<Object> ()
|
||||
.AddConstructor<ArpL3Protocol> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddAttribute ("CacheList",
|
||||
"The list of ARP caches",
|
||||
ObjectVectorValue (),
|
||||
|
||||
@@ -148,6 +148,7 @@ TypeId CoDelQueue::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::CoDelQueue")
|
||||
.SetParent<Queue> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<CoDelQueue> ()
|
||||
.AddAttribute ("Mode",
|
||||
"Whether to use Bytes (see MaxBytes) or Packets (see MaxPackets) as the maximum queue size metric.",
|
||||
|
||||
@@ -510,7 +510,8 @@ TypeId
|
||||
GlobalRouter::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::GlobalRouter")
|
||||
.SetParent<Object> ();
|
||||
.SetParent<Object> ()
|
||||
.SetGroupName ("Internet");
|
||||
return tid;
|
||||
}
|
||||
|
||||
|
||||
@@ -23,6 +23,7 @@ Icmpv4L4Protocol::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Icmpv4L4Protocol")
|
||||
.SetParent<IpL4Protocol> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<Icmpv4L4Protocol> ()
|
||||
;
|
||||
return tid;
|
||||
|
||||
@@ -37,6 +37,7 @@ Icmpv4Header::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Icmpv4Header")
|
||||
.SetParent<Header> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<Icmpv4Header> ()
|
||||
;
|
||||
return tid;
|
||||
@@ -198,6 +199,7 @@ Icmpv4Echo::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Icmpv4Echo")
|
||||
.SetParent<Header> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<Icmpv4Echo> ()
|
||||
;
|
||||
return tid;
|
||||
@@ -277,6 +279,7 @@ Icmpv4DestinationUnreachable::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Icmpv4DestinationUnreachable")
|
||||
.SetParent<Header> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<Icmpv4DestinationUnreachable> ()
|
||||
;
|
||||
return tid;
|
||||
@@ -400,6 +403,7 @@ Icmpv4TimeExceeded::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Icmpv4TimeExceeded")
|
||||
.SetParent<Header> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<Icmpv4TimeExceeded> ()
|
||||
;
|
||||
return tid;
|
||||
|
||||
@@ -37,6 +37,7 @@ TypeId Icmpv6Header::GetTypeId ()
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Icmpv6Header")
|
||||
.SetParent<Header> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<Icmpv6Header> ()
|
||||
;
|
||||
return tid;
|
||||
@@ -187,6 +188,7 @@ TypeId Icmpv6NS::GetTypeId ()
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Icmpv6NS")
|
||||
.SetParent<Icmpv6Header> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<Icmpv6NS> ()
|
||||
;
|
||||
return tid;
|
||||
@@ -300,6 +302,7 @@ TypeId Icmpv6NA::GetTypeId ()
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Icmpv6NA")
|
||||
.SetParent<Icmpv6Header> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<Icmpv6NA> ()
|
||||
;
|
||||
return tid;
|
||||
@@ -483,6 +486,7 @@ TypeId Icmpv6RA::GetTypeId ()
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Icmpv6RA")
|
||||
.SetParent<Icmpv6Header> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<Icmpv6RA> ()
|
||||
;
|
||||
return tid;
|
||||
@@ -702,6 +706,7 @@ TypeId Icmpv6RS::GetTypeId ()
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Icmpv6RS")
|
||||
.SetParent<Icmpv6Header> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<Icmpv6RS> ()
|
||||
;
|
||||
return tid;
|
||||
@@ -792,6 +797,7 @@ TypeId Icmpv6Redirection::GetTypeId ()
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Icmpv6Redirection")
|
||||
.SetParent<Icmpv6Header> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<Icmpv6Redirection> ()
|
||||
;
|
||||
return tid;
|
||||
@@ -922,6 +928,7 @@ TypeId Icmpv6Echo::GetTypeId ()
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Icmpv6Echo")
|
||||
.SetParent<Icmpv6Header> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<Icmpv6Echo> ()
|
||||
;
|
||||
return tid;
|
||||
@@ -1039,6 +1046,7 @@ TypeId Icmpv6DestinationUnreachable::GetTypeId ()
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Icmpv6DestinationUnreachable")
|
||||
.SetParent<Icmpv6Header> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<Icmpv6DestinationUnreachable> ()
|
||||
;
|
||||
return tid;
|
||||
@@ -1136,6 +1144,7 @@ TypeId Icmpv6TooBig::GetTypeId ()
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Icmpv6TooBig")
|
||||
.SetParent<Icmpv6Header> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<Icmpv6TooBig> ()
|
||||
;
|
||||
return tid;
|
||||
@@ -1246,6 +1255,7 @@ TypeId Icmpv6TimeExceeded::GetTypeId ()
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Icmpv6TimeExceeded")
|
||||
.SetParent<Icmpv6Header> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<Icmpv6TimeExceeded> ()
|
||||
;
|
||||
return tid;
|
||||
@@ -1345,6 +1355,7 @@ TypeId Icmpv6ParameterError::GetTypeId ()
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Icmpv6ParameterError")
|
||||
.SetParent<Icmpv6Header> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<Icmpv6ParameterError> ()
|
||||
;
|
||||
return tid;
|
||||
@@ -1455,6 +1466,7 @@ TypeId Icmpv6OptionHeader::GetTypeId ()
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Icmpv6OptionHeader")
|
||||
.SetParent<Header> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<Icmpv6OptionHeader> ()
|
||||
;
|
||||
return tid;
|
||||
@@ -1533,6 +1545,7 @@ TypeId Icmpv6OptionMtu::GetTypeId ()
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Icmpv6OptionMtu")
|
||||
.SetParent<Icmpv6OptionHeader> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<Icmpv6OptionMtu> ()
|
||||
;
|
||||
return tid;
|
||||
@@ -1629,6 +1642,7 @@ TypeId Icmpv6OptionPrefixInformation::GetTypeId ()
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Icmpv6OptionPrefixInformation")
|
||||
.SetParent<Icmpv6OptionHeader> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<Icmpv6OptionPrefixInformation> ()
|
||||
;
|
||||
return tid;
|
||||
@@ -1802,6 +1816,7 @@ TypeId Icmpv6OptionLinkLayerAddress::GetTypeId ()
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Icmpv6OptionLinkLayerAddress")
|
||||
.SetParent<Icmpv6OptionHeader> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<Icmpv6OptionLinkLayerAddress> ()
|
||||
;
|
||||
return tid;
|
||||
@@ -1910,6 +1925,7 @@ TypeId Icmpv6OptionRedirected::GetTypeId ()
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Icmpv6OptionRedirected")
|
||||
.SetParent<Icmpv6OptionHeader> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<Icmpv6OptionRedirected> ()
|
||||
;
|
||||
return tid;
|
||||
|
||||
@@ -69,6 +69,7 @@ TypeId Icmpv6L4Protocol::GetTypeId ()
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Icmpv6L4Protocol")
|
||||
.SetParent<IpL4Protocol> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<Icmpv6L4Protocol> ()
|
||||
.AddAttribute ("DAD", "Always do DAD check.",
|
||||
BooleanValue (true),
|
||||
|
||||
@@ -36,7 +36,8 @@ IpL4Protocol::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::IpL4Protocol")
|
||||
.SetParent<Object> ()
|
||||
.AddAttribute ("ProtocolNumber", "The Ip protocol number.",
|
||||
.SetGroupName ("Internet")
|
||||
.AddAttribute ("ProtocolNumber", "The IP protocol number.",
|
||||
UintegerValue (0),
|
||||
MakeUintegerAccessor (&IpL4Protocol::GetProtocolNumber),
|
||||
MakeUintegerChecker<int> ())
|
||||
|
||||
@@ -41,6 +41,7 @@ Ipv4GlobalRouting::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Ipv4GlobalRouting")
|
||||
.SetParent<Object> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddAttribute ("RandomEcmpRouting",
|
||||
"Set to true if packets are randomly routed among ECMP; set to false for using only one route consistently",
|
||||
BooleanValue (false),
|
||||
|
||||
@@ -320,6 +320,7 @@ Ipv4Header::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Ipv4Header")
|
||||
.SetParent<Header> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<Ipv4Header> ()
|
||||
;
|
||||
return tid;
|
||||
|
||||
@@ -53,6 +53,7 @@ Ipv4L3Protocol::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Ipv4L3Protocol")
|
||||
.SetParent<Ipv4> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<Ipv4L3Protocol> ()
|
||||
.AddAttribute ("DefaultTos",
|
||||
"The TOS value set by default on "
|
||||
|
||||
@@ -35,6 +35,7 @@ Ipv4ListRouting::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Ipv4ListRouting")
|
||||
.SetParent<Ipv4RoutingProtocol> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<Ipv4ListRouting> ()
|
||||
;
|
||||
return tid;
|
||||
|
||||
@@ -100,6 +100,7 @@ Ipv4PacketInfoTag::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Ipv4PacketInfoTag")
|
||||
.SetParent<Tag> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<Ipv4PacketInfoTag> ()
|
||||
;
|
||||
return tid;
|
||||
|
||||
@@ -39,6 +39,7 @@ Ipv4PacketProbe::GetTypeId ()
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Ipv4PacketProbe")
|
||||
.SetParent<Probe> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<Ipv4PacketProbe> ()
|
||||
.AddTraceSource ( "Output",
|
||||
"The packet plus its IPv4 object and interface "
|
||||
|
||||
@@ -31,6 +31,7 @@ TypeId Ipv4RawSocketFactory::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Ipv4RawSocketFactory")
|
||||
.SetParent<SocketFactory> ()
|
||||
.SetGroupName ("Internet")
|
||||
;
|
||||
return tid;
|
||||
}
|
||||
|
||||
@@ -24,6 +24,7 @@ Ipv4RawSocketImpl::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Ipv4RawSocketImpl")
|
||||
.SetParent<Socket> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddAttribute ("Protocol", "Protocol number to match.",
|
||||
UintegerValue (0),
|
||||
MakeUintegerAccessor (&Ipv4RawSocketImpl::m_protocol),
|
||||
|
||||
@@ -31,6 +31,7 @@ TypeId Ipv4RoutingProtocol::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Ipv4RoutingProtocol")
|
||||
.SetParent<Object> ()
|
||||
.SetGroupName ("Internet")
|
||||
;
|
||||
return tid;
|
||||
}
|
||||
|
||||
@@ -47,6 +47,7 @@ Ipv4StaticRouting::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Ipv4StaticRouting")
|
||||
.SetParent<Ipv4RoutingProtocol> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<Ipv4StaticRouting> ()
|
||||
;
|
||||
return tid;
|
||||
|
||||
@@ -35,6 +35,7 @@ Ipv4::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Ipv4")
|
||||
.SetParent<Object> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddAttribute ("IpForward", "Globally enable or disable IP forwarding for all current and future Ipv4 devices.",
|
||||
BooleanValue (true),
|
||||
MakeBooleanAccessor (&Ipv4::SetIpForward,
|
||||
|
||||
@@ -34,6 +34,7 @@ TypeId Ipv6ExtensionDemux::GetTypeId ()
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Ipv6ExtensionDemux")
|
||||
.SetParent<Object> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddAttribute ("Extensions", "The set of IPv6 extensions registered with this demux.",
|
||||
ObjectVectorValue (),
|
||||
MakeObjectVectorAccessor (&Ipv6ExtensionDemux::m_extensions),
|
||||
|
||||
@@ -35,6 +35,7 @@ TypeId Ipv6ExtensionHeader::GetTypeId ()
|
||||
static TypeId tid = TypeId ("ns3::Ipv6ExtensionHeader")
|
||||
.AddConstructor<Ipv6ExtensionHeader> ()
|
||||
.SetParent<Header> ()
|
||||
.SetGroupName ("Internet")
|
||||
;
|
||||
return tid;
|
||||
}
|
||||
@@ -206,6 +207,7 @@ TypeId Ipv6ExtensionHopByHopHeader::GetTypeId ()
|
||||
static TypeId tid = TypeId ("ns3::Ipv6ExtensionHopByHopHeader")
|
||||
.AddConstructor<Ipv6ExtensionHopByHopHeader> ()
|
||||
.SetParent<Ipv6ExtensionHeader> ()
|
||||
.SetGroupName ("Internet")
|
||||
;
|
||||
return tid;
|
||||
}
|
||||
@@ -261,6 +263,7 @@ TypeId Ipv6ExtensionDestinationHeader::GetTypeId ()
|
||||
static TypeId tid = TypeId ("ns3::Ipv6ExtensionDestinationHeader")
|
||||
.AddConstructor<Ipv6ExtensionDestinationHeader> ()
|
||||
.SetParent<Ipv6ExtensionHeader> ()
|
||||
.SetGroupName ("Internet")
|
||||
;
|
||||
return tid;
|
||||
}
|
||||
@@ -316,6 +319,7 @@ TypeId Ipv6ExtensionFragmentHeader::GetTypeId ()
|
||||
static TypeId tid = TypeId ("ns3::Ipv6ExtensionFragmentHeader")
|
||||
.AddConstructor<Ipv6ExtensionFragmentHeader> ()
|
||||
.SetParent<Ipv6ExtensionHeader> ()
|
||||
.SetGroupName ("Internet")
|
||||
;
|
||||
return tid;
|
||||
}
|
||||
@@ -409,6 +413,7 @@ TypeId Ipv6ExtensionRoutingHeader::GetTypeId ()
|
||||
static TypeId tid = TypeId ("ns3::Ipv6ExtensionRoutingHeader")
|
||||
.AddConstructor<Ipv6ExtensionRoutingHeader> ()
|
||||
.SetParent<Ipv6ExtensionHeader> ()
|
||||
.SetGroupName ("Internet")
|
||||
;
|
||||
return tid;
|
||||
}
|
||||
@@ -488,6 +493,7 @@ TypeId Ipv6ExtensionLooseRoutingHeader::GetTypeId ()
|
||||
static TypeId tid = TypeId ("ns3::Ipv6ExtensionLooseRoutingHeader")
|
||||
.AddConstructor<Ipv6ExtensionLooseRoutingHeader> ()
|
||||
.SetParent<Ipv6ExtensionRoutingHeader> ()
|
||||
.SetGroupName ("Internet")
|
||||
;
|
||||
return tid;
|
||||
}
|
||||
@@ -595,6 +601,7 @@ TypeId Ipv6ExtensionESPHeader::GetTypeId ()
|
||||
static TypeId tid = TypeId ("ns3::Ipv6ExtensionESPHeader")
|
||||
.AddConstructor<Ipv6ExtensionESPHeader> ()
|
||||
.SetParent<Ipv6ExtensionHeader> ()
|
||||
.SetGroupName ("Internet")
|
||||
;
|
||||
return tid;
|
||||
}
|
||||
@@ -641,6 +648,7 @@ TypeId Ipv6ExtensionAHHeader::GetTypeId ()
|
||||
static TypeId tid = TypeId ("ns3::Ipv6ExtensionAHHeader")
|
||||
.AddConstructor<Ipv6ExtensionAHHeader> ()
|
||||
.SetParent<Ipv6ExtensionHeader> ()
|
||||
.SetGroupName ("Internet")
|
||||
;
|
||||
return tid;
|
||||
}
|
||||
|
||||
@@ -50,6 +50,7 @@ TypeId Ipv6Extension::GetTypeId ()
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Ipv6Extension")
|
||||
.SetParent<Object> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddAttribute ("ExtensionNumber", "The IPv6 extension number.",
|
||||
UintegerValue (0),
|
||||
MakeUintegerAccessor (&Ipv6Extension::GetExtensionNumber),
|
||||
@@ -192,6 +193,7 @@ TypeId Ipv6ExtensionHopByHop::GetTypeId ()
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Ipv6ExtensionHopByHop")
|
||||
.SetParent<Ipv6Extension> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<Ipv6ExtensionHopByHop> ()
|
||||
;
|
||||
return tid;
|
||||
@@ -251,6 +253,7 @@ TypeId Ipv6ExtensionDestination::GetTypeId ()
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Ipv6ExtensionDestination")
|
||||
.SetParent<Ipv6Extension> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<Ipv6ExtensionDestination> ()
|
||||
;
|
||||
return tid;
|
||||
@@ -310,6 +313,7 @@ TypeId Ipv6ExtensionFragment::GetTypeId ()
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Ipv6ExtensionFragment")
|
||||
.SetParent<Ipv6Extension> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<Ipv6ExtensionFragment> ()
|
||||
;
|
||||
return tid;
|
||||
@@ -735,6 +739,7 @@ TypeId Ipv6ExtensionRouting::GetTypeId ()
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Ipv6ExtensionRouting")
|
||||
.SetParent<Ipv6Extension> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<Ipv6ExtensionRouting> ()
|
||||
;
|
||||
return tid;
|
||||
@@ -828,6 +833,7 @@ TypeId Ipv6ExtensionRoutingDemux::GetTypeId ()
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Ipv6ExtensionRoutingDemux")
|
||||
.SetParent<Object> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddAttribute ("Routing Extensions", "The set of IPv6 Routing extensions registered with this demux.",
|
||||
ObjectVectorValue (),
|
||||
MakeObjectVectorAccessor (&Ipv6ExtensionRoutingDemux::m_extensionsRouting),
|
||||
@@ -890,6 +896,7 @@ TypeId Ipv6ExtensionLooseRouting::GetTypeId ()
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Ipv6ExtensionLooseRouting")
|
||||
.SetParent<Ipv6ExtensionRouting> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<Ipv6ExtensionLooseRouting> ()
|
||||
;
|
||||
return tid;
|
||||
@@ -1054,6 +1061,7 @@ TypeId Ipv6ExtensionESP::GetTypeId ()
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Ipv6ExtensionESP")
|
||||
.SetParent<Ipv6Extension> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<Ipv6ExtensionESP> ()
|
||||
;
|
||||
return tid;
|
||||
@@ -1099,6 +1107,7 @@ TypeId Ipv6ExtensionAH::GetTypeId ()
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Ipv6ExtensionAH")
|
||||
.SetParent<Ipv6Extension> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<Ipv6ExtensionAH> ()
|
||||
;
|
||||
return tid;
|
||||
|
||||
@@ -117,6 +117,7 @@ TypeId Ipv6Header::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Ipv6Header")
|
||||
.SetParent<Header> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<Ipv6Header> ()
|
||||
;
|
||||
return tid;
|
||||
|
||||
@@ -42,6 +42,7 @@ TypeId Ipv6Interface::GetTypeId ()
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Ipv6Interface")
|
||||
.SetParent<Object> ()
|
||||
.SetGroupName ("Internet")
|
||||
;
|
||||
return tid;
|
||||
}
|
||||
|
||||
@@ -59,6 +59,7 @@ TypeId Ipv6L3Protocol::GetTypeId ()
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Ipv6L3Protocol")
|
||||
.SetParent<Ipv6> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<Ipv6L3Protocol> ()
|
||||
.AddAttribute ("DefaultTtl",
|
||||
"The TTL value set by default on all "
|
||||
|
||||
@@ -36,6 +36,7 @@ Ipv6ListRouting::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Ipv6ListRouting")
|
||||
.SetParent<Ipv6RoutingProtocol> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<Ipv6ListRouting> ()
|
||||
;
|
||||
return tid;
|
||||
|
||||
@@ -34,6 +34,7 @@ TypeId Ipv6OptionDemux::GetTypeId ()
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Ipv6OptionDemux")
|
||||
.SetParent<Object> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddAttribute ("Options", "The set of IPv6 options registered with this demux.",
|
||||
ObjectVectorValue (),
|
||||
MakeObjectVectorAccessor (&Ipv6OptionDemux::m_options),
|
||||
|
||||
@@ -35,6 +35,7 @@ TypeId Ipv6OptionHeader::GetTypeId ()
|
||||
static TypeId tid = TypeId ("ns3::Ipv6OptionHeader")
|
||||
.AddConstructor<Ipv6OptionHeader> ()
|
||||
.SetParent<Header> ()
|
||||
.SetGroupName ("Internet")
|
||||
;
|
||||
return tid;
|
||||
}
|
||||
@@ -123,6 +124,7 @@ TypeId Ipv6OptionPad1Header::GetTypeId ()
|
||||
static TypeId tid = TypeId ("ns3::Ipv6OptionPad1Header")
|
||||
.AddConstructor<Ipv6OptionPad1Header> ()
|
||||
.SetParent<Ipv6OptionHeader> ()
|
||||
.SetGroupName ("Internet")
|
||||
;
|
||||
return tid;
|
||||
}
|
||||
@@ -174,6 +176,7 @@ TypeId Ipv6OptionPadnHeader::GetTypeId ()
|
||||
static TypeId tid = TypeId ("ns3::Ipv6OptionPadnHeader")
|
||||
.AddConstructor<Ipv6OptionPadnHeader> ()
|
||||
.SetParent<Ipv6OptionHeader> ()
|
||||
.SetGroupName ("Internet")
|
||||
;
|
||||
return tid;
|
||||
}
|
||||
@@ -234,6 +237,7 @@ TypeId Ipv6OptionJumbogramHeader::GetTypeId ()
|
||||
static TypeId tid = TypeId ("ns3::Ipv6OptionJumbogramHeader")
|
||||
.AddConstructor<Ipv6OptionJumbogramHeader> ()
|
||||
.SetParent<Ipv6OptionHeader> ()
|
||||
.SetGroupName ("Internet")
|
||||
;
|
||||
return tid;
|
||||
}
|
||||
@@ -247,6 +251,7 @@ Ipv6OptionJumbogramHeader::Ipv6OptionJumbogramHeader ()
|
||||
{
|
||||
SetType (0xC2);
|
||||
SetLength (4);
|
||||
m_dataLength = 0;
|
||||
}
|
||||
|
||||
Ipv6OptionJumbogramHeader::~Ipv6OptionJumbogramHeader ()
|
||||
@@ -305,6 +310,7 @@ TypeId Ipv6OptionRouterAlertHeader::GetTypeId ()
|
||||
static TypeId tid = TypeId ("ns3::Ipv6OptionRouterAlertHeader")
|
||||
.AddConstructor<Ipv6OptionRouterAlertHeader> ()
|
||||
.SetParent<Ipv6OptionHeader> ()
|
||||
.SetGroupName ("Internet")
|
||||
;
|
||||
return tid;
|
||||
}
|
||||
|
||||
@@ -35,6 +35,7 @@ TypeId Ipv6Option::GetTypeId ()
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Ipv6Option")
|
||||
.SetParent<Object> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddAttribute ("OptionNumber", "The IPv6 option number.",
|
||||
UintegerValue (0),
|
||||
MakeUintegerAccessor (&Ipv6Option::GetOptionNumber),
|
||||
@@ -61,6 +62,7 @@ TypeId Ipv6OptionPad1::GetTypeId ()
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Ipv6OptionPad1")
|
||||
.SetParent<Ipv6Option> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<Ipv6OptionPad1> ()
|
||||
;
|
||||
return tid;
|
||||
@@ -105,6 +107,7 @@ TypeId Ipv6OptionPadn::GetTypeId ()
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Ipv6OptionPadn")
|
||||
.SetParent<Ipv6Option> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<Ipv6OptionPadn> ()
|
||||
;
|
||||
return tid;
|
||||
@@ -149,6 +152,7 @@ TypeId Ipv6OptionJumbogram::GetTypeId ()
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Ipv6OptionJumbogram")
|
||||
.SetParent<Ipv6Option> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<Ipv6OptionJumbogram> ()
|
||||
;
|
||||
return tid;
|
||||
@@ -193,6 +197,7 @@ TypeId Ipv6OptionRouterAlert::GetTypeId ()
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Ipv6OptionRouterAlert")
|
||||
.SetParent<Ipv6Option> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<Ipv6OptionRouterAlert> ()
|
||||
;
|
||||
return tid;
|
||||
|
||||
@@ -87,6 +87,7 @@ Ipv6PacketInfoTag::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Ipv6PacketInfoTag")
|
||||
.SetParent<Tag> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<Ipv6PacketInfoTag> ()
|
||||
;
|
||||
return tid;
|
||||
|
||||
@@ -40,6 +40,7 @@ Ipv6PacketProbe::GetTypeId ()
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Ipv6PacketProbe")
|
||||
.SetParent<Probe> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<Ipv6PacketProbe> ()
|
||||
.AddTraceSource ( "Output",
|
||||
"The packet plus its IPv6 object and interface "
|
||||
|
||||
@@ -32,6 +32,7 @@ TypeId Ipv6PmtuCache::GetTypeId ()
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Ipv6PmtuCache")
|
||||
.SetParent<Object> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddAttribute ("CacheExpiryTime",
|
||||
"Validity time for a Path MTU entry. Default is 10 minutes, minimum is 5 minutes.",
|
||||
TimeValue (Seconds (60 * 10)),
|
||||
|
||||
@@ -30,6 +30,7 @@ TypeId Ipv6RawSocketFactory::GetTypeId ()
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Ipv6RawSocketFactory")
|
||||
.SetParent<SocketFactory> ()
|
||||
.SetGroupName ("Internet")
|
||||
;
|
||||
return tid;
|
||||
}
|
||||
|
||||
@@ -46,6 +46,7 @@ TypeId Ipv6RawSocketImpl::GetTypeId ()
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Ipv6RawSocketImpl")
|
||||
.SetParent<Socket> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddAttribute ("Protocol", "Protocol number to match.",
|
||||
UintegerValue (0),
|
||||
MakeUintegerAccessor (&Ipv6RawSocketImpl::m_protocol),
|
||||
|
||||
@@ -32,6 +32,7 @@ TypeId Ipv6RoutingProtocol::GetTypeId ()
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Ipv6RoutingProtocol")
|
||||
.SetParent<Object> ()
|
||||
.SetGroupName ("Internet")
|
||||
;
|
||||
return tid;
|
||||
}
|
||||
|
||||
@@ -40,6 +40,7 @@ TypeId Ipv6StaticRouting::GetTypeId ()
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Ipv6StaticRouting")
|
||||
.SetParent<Ipv6RoutingProtocol> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<Ipv6StaticRouting> ()
|
||||
;
|
||||
return tid;
|
||||
|
||||
@@ -35,6 +35,7 @@ TypeId Ipv6::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Ipv6")
|
||||
.SetParent<Object> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddAttribute ("IpForward", "Globally enable or disable IP forwarding for all current and future IPv6 devices.",
|
||||
BooleanValue (false),
|
||||
MakeBooleanAccessor (&Ipv6::SetIpForward,
|
||||
|
||||
@@ -35,6 +35,7 @@ LoopbackNetDevice::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::LoopbackNetDevice")
|
||||
.SetParent<NetDevice> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<LoopbackNetDevice> ()
|
||||
;
|
||||
return tid;
|
||||
|
||||
@@ -39,6 +39,7 @@ TypeId NdiscCache::GetTypeId ()
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::NdiscCache")
|
||||
.SetParent<Object> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddAttribute ("UnresolvedQueueSize",
|
||||
"Size of the queue for packets pending an NA reply.",
|
||||
UintegerValue (DEFAULT_UNRES_QLEN),
|
||||
|
||||
@@ -126,6 +126,7 @@ NscTcpL4Protocol::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::NscTcpL4Protocol")
|
||||
.SetParent<IpL4Protocol> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<NscTcpL4Protocol>()
|
||||
.AddAttribute ("SocketList", "The list of sockets associated to this protocol.",
|
||||
ObjectVectorValue (),
|
||||
|
||||
@@ -54,6 +54,7 @@ NscTcpSocketImpl::GetTypeId ()
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::NscTcpSocketImpl")
|
||||
.SetParent<TcpSocket> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddTraceSource ("CongestionWindow",
|
||||
"The TCP connection's congestion window",
|
||||
MakeTraceSourceAccessor (&NscTcpSocketImpl::m_cWnd),
|
||||
|
||||
@@ -35,7 +35,10 @@ RipNgRte::RipNgRte ()
|
||||
|
||||
TypeId RipNgRte::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::RipNgRte").SetParent<Header> ().AddConstructor<RipNgRte> ();
|
||||
static TypeId tid = TypeId ("ns3::RipNgRte")
|
||||
.SetParent<Header> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<RipNgRte> ();
|
||||
return tid;
|
||||
}
|
||||
|
||||
@@ -139,7 +142,10 @@ RipNgHeader::RipNgHeader ()
|
||||
|
||||
TypeId RipNgHeader::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::RipNgHeader").SetParent<Header> ().AddConstructor<RipNgHeader> ();
|
||||
static TypeId tid = TypeId ("ns3::RipNgHeader")
|
||||
.SetParent<Header> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<RipNgHeader> ();
|
||||
return tid;
|
||||
}
|
||||
|
||||
|
||||
@@ -57,6 +57,7 @@ RipNg::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::RipNg")
|
||||
.SetParent<Ipv6RoutingProtocol> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<RipNg> ()
|
||||
.AddAttribute ("UnsolicitedRoutingUpdate", "The time between two Unsolicited Routing Updates.",
|
||||
TimeValue (Seconds(30)),
|
||||
|
||||
@@ -45,6 +45,7 @@ RttEstimator::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::RttEstimator")
|
||||
.SetParent<Object> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddAttribute ("InitialEstimation",
|
||||
"Initial RTT estimate",
|
||||
TimeValue (Seconds (1.0)),
|
||||
@@ -129,6 +130,7 @@ RttMeanDeviation::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::RttMeanDeviation")
|
||||
.SetParent<RttEstimator> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<RttMeanDeviation> ()
|
||||
.AddAttribute ("Alpha",
|
||||
"Gain used in estimating the RTT, must be 0 <= alpha <= 1",
|
||||
|
||||
@@ -231,6 +231,7 @@ TcpHeader::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::TcpHeader")
|
||||
.SetParent<Header> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<TcpHeader> ()
|
||||
;
|
||||
return tid;
|
||||
|
||||
@@ -67,6 +67,7 @@ TcpL4Protocol::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::TcpL4Protocol")
|
||||
.SetParent<IpL4Protocol> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<TcpL4Protocol> ()
|
||||
.AddAttribute ("RttEstimatorType",
|
||||
"Type of RttEstimator objects.",
|
||||
|
||||
@@ -39,6 +39,7 @@ TcpNewReno::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::TcpNewReno")
|
||||
.SetParent<TcpSocketBase> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<TcpNewReno> ()
|
||||
.AddAttribute ("ReTxThreshold", "Threshold for fast retransmit",
|
||||
UintegerValue (3),
|
||||
|
||||
@@ -43,6 +43,7 @@ TcpOptionEnd::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::TcpOptionEnd")
|
||||
.SetParent<TcpOption> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<TcpOptionEnd> ()
|
||||
;
|
||||
return tid;
|
||||
@@ -114,6 +115,7 @@ TcpOptionNOP::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::TcpOptionNOP")
|
||||
.SetParent<TcpOption> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<TcpOptionNOP> ()
|
||||
;
|
||||
return tid;
|
||||
@@ -184,6 +186,7 @@ TcpOptionMSS::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::TcpOptionMSS")
|
||||
.SetParent<TcpOption> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<TcpOptionMSS> ()
|
||||
;
|
||||
return tid;
|
||||
|
||||
@@ -43,6 +43,7 @@ TcpOptionTS::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::TcpOptionTS")
|
||||
.SetParent<TcpOption> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<TcpOptionTS> ()
|
||||
;
|
||||
return tid;
|
||||
|
||||
@@ -43,6 +43,7 @@ TcpOptionWinScale::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::TcpOptionWinScale")
|
||||
.SetParent<TcpOption> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<TcpOptionWinScale> ()
|
||||
;
|
||||
return tid;
|
||||
|
||||
@@ -48,6 +48,7 @@ TcpOption::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::TcpOption")
|
||||
.SetParent<Object> ()
|
||||
.SetGroupName ("Internet")
|
||||
;
|
||||
return tid;
|
||||
}
|
||||
@@ -125,6 +126,7 @@ TcpOptionUnknown::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::TcpOptionUnknown")
|
||||
.SetParent<TcpOption> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<TcpOptionUnknown> ()
|
||||
;
|
||||
return tid;
|
||||
|
||||
@@ -39,6 +39,7 @@ TcpReno::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::TcpReno")
|
||||
.SetParent<TcpSocketBase> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<TcpReno> ()
|
||||
.AddAttribute ("ReTxThreshold", "Threshold for fast retransmit",
|
||||
UintegerValue (3),
|
||||
|
||||
@@ -32,6 +32,7 @@ TcpRfc793::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::TcpRfc793")
|
||||
.SetParent<TcpSocketBase> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<TcpRfc793> ()
|
||||
;
|
||||
return tid;
|
||||
|
||||
@@ -34,6 +34,7 @@ TcpRxBuffer::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::TcpRxBuffer")
|
||||
.SetParent<Object> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<TcpRxBuffer> ()
|
||||
.AddTraceSource ("NextRxSequence",
|
||||
"Next sequence number expected (RCV.NXT)",
|
||||
|
||||
@@ -65,6 +65,7 @@ TcpSocketBase::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::TcpSocketBase")
|
||||
.SetParent<TcpSocket> ()
|
||||
.SetGroupName ("Internet")
|
||||
// .AddAttribute ("TcpState", "State in TCP state machine",
|
||||
// TypeId::ATTR_GET,
|
||||
// EnumValue (CLOSED),
|
||||
|
||||
@@ -30,6 +30,7 @@ TcpSocketFactory::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::TcpSocketFactory")
|
||||
.SetParent<SocketFactory> ()
|
||||
.SetGroupName ("Internet")
|
||||
;
|
||||
return tid;
|
||||
}
|
||||
|
||||
@@ -40,6 +40,7 @@ TcpSocket::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::TcpSocket")
|
||||
.SetParent<Socket> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddAttribute ("SndBufSize",
|
||||
"TcpSocket maximum transmit buffer size (bytes)",
|
||||
UintegerValue (131072), // 128k
|
||||
|
||||
@@ -39,6 +39,7 @@ TcpTahoe::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::TcpTahoe")
|
||||
.SetParent<TcpSocketBase> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<TcpTahoe> ()
|
||||
.AddAttribute ("ReTxThreshold", "Threshold for fast retransmit",
|
||||
UintegerValue (3),
|
||||
|
||||
@@ -39,6 +39,7 @@ TcpTxBuffer::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::TcpTxBuffer")
|
||||
.SetParent<Object> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<TcpTxBuffer> ()
|
||||
.AddTraceSource ("UnackSequence",
|
||||
"First unacknowledged sequence number (SND.UNA)",
|
||||
|
||||
@@ -53,6 +53,7 @@ TcpWestwood::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId("ns3::TcpWestwood")
|
||||
.SetParent<TcpSocketBase>()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<TcpWestwood>()
|
||||
.AddTraceSource("CongestionWindow", "The TCP connection's congestion window",
|
||||
MakeTraceSourceAccessor(&TcpWestwood::m_cWnd),
|
||||
|
||||
@@ -155,6 +155,7 @@ UdpHeader::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::UdpHeader")
|
||||
.SetParent<Header> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<UdpHeader> ()
|
||||
;
|
||||
return tid;
|
||||
|
||||
@@ -54,6 +54,7 @@ UdpL4Protocol::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::UdpL4Protocol")
|
||||
.SetParent<IpL4Protocol> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<UdpL4Protocol> ()
|
||||
.AddAttribute ("SocketList", "The list of sockets associated to this protocol.",
|
||||
ObjectVectorValue (),
|
||||
|
||||
@@ -28,6 +28,7 @@ TypeId UdpSocketFactory::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::UdpSocketFactory")
|
||||
.SetParent<SocketFactory> ()
|
||||
.SetGroupName ("Internet")
|
||||
;
|
||||
return tid;
|
||||
}
|
||||
|
||||
@@ -56,6 +56,7 @@ UdpSocketImpl::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::UdpSocketImpl")
|
||||
.SetParent<UdpSocket> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddConstructor<UdpSocketImpl> ()
|
||||
.AddTraceSource ("Drop",
|
||||
"Drop UDP packet due to receive buffer overflow",
|
||||
|
||||
@@ -37,6 +37,7 @@ UdpSocket::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::UdpSocket")
|
||||
.SetParent<Socket> ()
|
||||
.SetGroupName ("Internet")
|
||||
.AddAttribute ("RcvBufSize",
|
||||
"UdpSocket maximum receive buffer size (bytes)",
|
||||
UintegerValue (131072),
|
||||
|
||||
Reference in New Issue
Block a user