From cce8378466988debba98438fdef127258d9611ea Mon Sep 17 00:00:00 2001 From: Tommaso Pecorella Date: Sun, 29 Mar 2015 11:14:34 +0200 Subject: [PATCH] SetGroupName for internet module --- src/internet/model/arp-cache.cc | 1 + src/internet/model/arp-header.cc | 1 + src/internet/model/arp-l3-protocol.cc | 1 + src/internet/model/codel-queue.cc | 1 + src/internet/model/global-router-interface.cc | 3 ++- src/internet/model/icmpv4-l4-protocol.cc | 1 + src/internet/model/icmpv4.cc | 4 ++++ src/internet/model/icmpv6-header.cc | 16 ++++++++++++++++ src/internet/model/icmpv6-l4-protocol.cc | 1 + src/internet/model/ip-l4-protocol.cc | 3 ++- src/internet/model/ipv4-global-routing.cc | 1 + src/internet/model/ipv4-header.cc | 1 + src/internet/model/ipv4-l3-protocol.cc | 1 + src/internet/model/ipv4-list-routing.cc | 1 + src/internet/model/ipv4-packet-info-tag.cc | 1 + src/internet/model/ipv4-packet-probe.cc | 1 + src/internet/model/ipv4-raw-socket-factory.cc | 1 + src/internet/model/ipv4-raw-socket-impl.cc | 1 + src/internet/model/ipv4-routing-protocol.cc | 1 + src/internet/model/ipv4-static-routing.cc | 1 + src/internet/model/ipv4.cc | 1 + src/internet/model/ipv6-extension-demux.cc | 1 + src/internet/model/ipv6-extension-header.cc | 8 ++++++++ src/internet/model/ipv6-extension.cc | 9 +++++++++ src/internet/model/ipv6-header.cc | 1 + src/internet/model/ipv6-interface.cc | 1 + src/internet/model/ipv6-l3-protocol.cc | 1 + src/internet/model/ipv6-list-routing.cc | 1 + src/internet/model/ipv6-option-demux.cc | 1 + src/internet/model/ipv6-option-header.cc | 6 ++++++ src/internet/model/ipv6-option.cc | 5 +++++ src/internet/model/ipv6-packet-info-tag.cc | 1 + src/internet/model/ipv6-packet-probe.cc | 1 + src/internet/model/ipv6-pmtu-cache.cc | 1 + src/internet/model/ipv6-raw-socket-factory.cc | 1 + src/internet/model/ipv6-raw-socket-impl.cc | 1 + src/internet/model/ipv6-routing-protocol.cc | 1 + src/internet/model/ipv6-static-routing.cc | 1 + src/internet/model/ipv6.cc | 1 + src/internet/model/loopback-net-device.cc | 1 + src/internet/model/ndisc-cache.cc | 1 + src/internet/model/nsc-tcp-l4-protocol.cc | 1 + src/internet/model/nsc-tcp-socket-impl.cc | 1 + src/internet/model/ripng-header.cc | 10 ++++++++-- src/internet/model/ripng.cc | 1 + src/internet/model/rtt-estimator.cc | 2 ++ src/internet/model/tcp-header.cc | 1 + src/internet/model/tcp-l4-protocol.cc | 1 + src/internet/model/tcp-newreno.cc | 1 + src/internet/model/tcp-option-rfc793.cc | 3 +++ src/internet/model/tcp-option-ts.cc | 1 + src/internet/model/tcp-option-winscale.cc | 1 + src/internet/model/tcp-option.cc | 2 ++ src/internet/model/tcp-reno.cc | 1 + src/internet/model/tcp-rfc793.cc | 1 + src/internet/model/tcp-rx-buffer.cc | 1 + src/internet/model/tcp-socket-base.cc | 1 + src/internet/model/tcp-socket-factory.cc | 1 + src/internet/model/tcp-socket.cc | 1 + src/internet/model/tcp-tahoe.cc | 1 + src/internet/model/tcp-tx-buffer.cc | 1 + src/internet/model/tcp-westwood.cc | 1 + src/internet/model/udp-header.cc | 1 + src/internet/model/udp-l4-protocol.cc | 1 + src/internet/model/udp-socket-factory.cc | 1 + src/internet/model/udp-socket-impl.cc | 1 + src/internet/model/udp-socket.cc | 1 + 67 files changed, 122 insertions(+), 4 deletions(-) diff --git a/src/internet/model/arp-cache.cc b/src/internet/model/arp-cache.cc index be17d0e6f..322a50444 100644 --- a/src/internet/model/arp-cache.cc +++ b/src/internet/model/arp-cache.cc @@ -41,6 +41,7 @@ ArpCache::GetTypeId (void) { static TypeId tid = TypeId ("ns3::ArpCache") .SetParent () + .SetGroupName ("Internet") .AddAttribute ("AliveTimeout", "When this timeout expires, " "the matching cache entry needs refreshing", diff --git a/src/internet/model/arp-header.cc b/src/internet/model/arp-header.cc index 759561020..2fb56ea35 100644 --- a/src/internet/model/arp-header.cc +++ b/src/internet/model/arp-header.cc @@ -98,6 +98,7 @@ ArpHeader::GetTypeId (void) { static TypeId tid = TypeId ("ns3::ArpHeader") .SetParent
() + .SetGroupName ("Internet") .AddConstructor () ; return tid; diff --git a/src/internet/model/arp-l3-protocol.cc b/src/internet/model/arp-l3-protocol.cc index cad54ac66..f3d7cbe50 100644 --- a/src/internet/model/arp-l3-protocol.cc +++ b/src/internet/model/arp-l3-protocol.cc @@ -46,6 +46,7 @@ ArpL3Protocol::GetTypeId (void) static TypeId tid = TypeId ("ns3::ArpL3Protocol") .SetParent () .AddConstructor () + .SetGroupName ("Internet") .AddAttribute ("CacheList", "The list of ARP caches", ObjectVectorValue (), diff --git a/src/internet/model/codel-queue.cc b/src/internet/model/codel-queue.cc index 84c1f5878..7f0c18973 100644 --- a/src/internet/model/codel-queue.cc +++ b/src/internet/model/codel-queue.cc @@ -148,6 +148,7 @@ TypeId CoDelQueue::GetTypeId (void) { static TypeId tid = TypeId ("ns3::CoDelQueue") .SetParent () + .SetGroupName ("Internet") .AddConstructor () .AddAttribute ("Mode", "Whether to use Bytes (see MaxBytes) or Packets (see MaxPackets) as the maximum queue size metric.", diff --git a/src/internet/model/global-router-interface.cc b/src/internet/model/global-router-interface.cc index a083fb078..9cbf2ad75 100644 --- a/src/internet/model/global-router-interface.cc +++ b/src/internet/model/global-router-interface.cc @@ -510,7 +510,8 @@ TypeId GlobalRouter::GetTypeId (void) { static TypeId tid = TypeId ("ns3::GlobalRouter") - .SetParent (); + .SetParent () + .SetGroupName ("Internet"); return tid; } diff --git a/src/internet/model/icmpv4-l4-protocol.cc b/src/internet/model/icmpv4-l4-protocol.cc index c2989e889..98061a9d6 100644 --- a/src/internet/model/icmpv4-l4-protocol.cc +++ b/src/internet/model/icmpv4-l4-protocol.cc @@ -23,6 +23,7 @@ Icmpv4L4Protocol::GetTypeId (void) { static TypeId tid = TypeId ("ns3::Icmpv4L4Protocol") .SetParent () + .SetGroupName ("Internet") .AddConstructor () ; return tid; diff --git a/src/internet/model/icmpv4.cc b/src/internet/model/icmpv4.cc index 0682b7e27..565723975 100644 --- a/src/internet/model/icmpv4.cc +++ b/src/internet/model/icmpv4.cc @@ -37,6 +37,7 @@ Icmpv4Header::GetTypeId (void) { static TypeId tid = TypeId ("ns3::Icmpv4Header") .SetParent
() + .SetGroupName ("Internet") .AddConstructor () ; return tid; @@ -198,6 +199,7 @@ Icmpv4Echo::GetTypeId (void) { static TypeId tid = TypeId ("ns3::Icmpv4Echo") .SetParent
() + .SetGroupName ("Internet") .AddConstructor () ; return tid; @@ -277,6 +279,7 @@ Icmpv4DestinationUnreachable::GetTypeId (void) { static TypeId tid = TypeId ("ns3::Icmpv4DestinationUnreachable") .SetParent
() + .SetGroupName ("Internet") .AddConstructor () ; return tid; @@ -400,6 +403,7 @@ Icmpv4TimeExceeded::GetTypeId (void) { static TypeId tid = TypeId ("ns3::Icmpv4TimeExceeded") .SetParent
() + .SetGroupName ("Internet") .AddConstructor () ; return tid; diff --git a/src/internet/model/icmpv6-header.cc b/src/internet/model/icmpv6-header.cc index 0441d2253..ba7ad7f74 100644 --- a/src/internet/model/icmpv6-header.cc +++ b/src/internet/model/icmpv6-header.cc @@ -37,6 +37,7 @@ TypeId Icmpv6Header::GetTypeId () { static TypeId tid = TypeId ("ns3::Icmpv6Header") .SetParent
() + .SetGroupName ("Internet") .AddConstructor () ; return tid; @@ -187,6 +188,7 @@ TypeId Icmpv6NS::GetTypeId () { static TypeId tid = TypeId ("ns3::Icmpv6NS") .SetParent () + .SetGroupName ("Internet") .AddConstructor () ; return tid; @@ -300,6 +302,7 @@ TypeId Icmpv6NA::GetTypeId () { static TypeId tid = TypeId ("ns3::Icmpv6NA") .SetParent () + .SetGroupName ("Internet") .AddConstructor () ; return tid; @@ -483,6 +486,7 @@ TypeId Icmpv6RA::GetTypeId () { static TypeId tid = TypeId ("ns3::Icmpv6RA") .SetParent () + .SetGroupName ("Internet") .AddConstructor () ; return tid; @@ -702,6 +706,7 @@ TypeId Icmpv6RS::GetTypeId () { static TypeId tid = TypeId ("ns3::Icmpv6RS") .SetParent () + .SetGroupName ("Internet") .AddConstructor () ; return tid; @@ -792,6 +797,7 @@ TypeId Icmpv6Redirection::GetTypeId () { static TypeId tid = TypeId ("ns3::Icmpv6Redirection") .SetParent () + .SetGroupName ("Internet") .AddConstructor () ; return tid; @@ -922,6 +928,7 @@ TypeId Icmpv6Echo::GetTypeId () { static TypeId tid = TypeId ("ns3::Icmpv6Echo") .SetParent () + .SetGroupName ("Internet") .AddConstructor () ; return tid; @@ -1039,6 +1046,7 @@ TypeId Icmpv6DestinationUnreachable::GetTypeId () { static TypeId tid = TypeId ("ns3::Icmpv6DestinationUnreachable") .SetParent () + .SetGroupName ("Internet") .AddConstructor () ; return tid; @@ -1136,6 +1144,7 @@ TypeId Icmpv6TooBig::GetTypeId () { static TypeId tid = TypeId ("ns3::Icmpv6TooBig") .SetParent () + .SetGroupName ("Internet") .AddConstructor () ; return tid; @@ -1246,6 +1255,7 @@ TypeId Icmpv6TimeExceeded::GetTypeId () { static TypeId tid = TypeId ("ns3::Icmpv6TimeExceeded") .SetParent () + .SetGroupName ("Internet") .AddConstructor () ; return tid; @@ -1345,6 +1355,7 @@ TypeId Icmpv6ParameterError::GetTypeId () { static TypeId tid = TypeId ("ns3::Icmpv6ParameterError") .SetParent () + .SetGroupName ("Internet") .AddConstructor () ; return tid; @@ -1455,6 +1466,7 @@ TypeId Icmpv6OptionHeader::GetTypeId () { static TypeId tid = TypeId ("ns3::Icmpv6OptionHeader") .SetParent
() + .SetGroupName ("Internet") .AddConstructor () ; return tid; @@ -1533,6 +1545,7 @@ TypeId Icmpv6OptionMtu::GetTypeId () { static TypeId tid = TypeId ("ns3::Icmpv6OptionMtu") .SetParent () + .SetGroupName ("Internet") .AddConstructor () ; return tid; @@ -1629,6 +1642,7 @@ TypeId Icmpv6OptionPrefixInformation::GetTypeId () { static TypeId tid = TypeId ("ns3::Icmpv6OptionPrefixInformation") .SetParent () + .SetGroupName ("Internet") .AddConstructor () ; return tid; @@ -1802,6 +1816,7 @@ TypeId Icmpv6OptionLinkLayerAddress::GetTypeId () { static TypeId tid = TypeId ("ns3::Icmpv6OptionLinkLayerAddress") .SetParent () + .SetGroupName ("Internet") .AddConstructor () ; return tid; @@ -1910,6 +1925,7 @@ TypeId Icmpv6OptionRedirected::GetTypeId () { static TypeId tid = TypeId ("ns3::Icmpv6OptionRedirected") .SetParent () + .SetGroupName ("Internet") .AddConstructor () ; return tid; diff --git a/src/internet/model/icmpv6-l4-protocol.cc b/src/internet/model/icmpv6-l4-protocol.cc index ebf6346b8..a156db717 100644 --- a/src/internet/model/icmpv6-l4-protocol.cc +++ b/src/internet/model/icmpv6-l4-protocol.cc @@ -69,6 +69,7 @@ TypeId Icmpv6L4Protocol::GetTypeId () { static TypeId tid = TypeId ("ns3::Icmpv6L4Protocol") .SetParent () + .SetGroupName ("Internet") .AddConstructor () .AddAttribute ("DAD", "Always do DAD check.", BooleanValue (true), diff --git a/src/internet/model/ip-l4-protocol.cc b/src/internet/model/ip-l4-protocol.cc index bd8a5317b..5fb3e2ef5 100644 --- a/src/internet/model/ip-l4-protocol.cc +++ b/src/internet/model/ip-l4-protocol.cc @@ -36,7 +36,8 @@ IpL4Protocol::GetTypeId (void) { static TypeId tid = TypeId ("ns3::IpL4Protocol") .SetParent () - .AddAttribute ("ProtocolNumber", "The Ip protocol number.", + .SetGroupName ("Internet") + .AddAttribute ("ProtocolNumber", "The IP protocol number.", UintegerValue (0), MakeUintegerAccessor (&IpL4Protocol::GetProtocolNumber), MakeUintegerChecker ()) diff --git a/src/internet/model/ipv4-global-routing.cc b/src/internet/model/ipv4-global-routing.cc index 424e076e6..a5fc2dfb7 100644 --- a/src/internet/model/ipv4-global-routing.cc +++ b/src/internet/model/ipv4-global-routing.cc @@ -41,6 +41,7 @@ Ipv4GlobalRouting::GetTypeId (void) { static TypeId tid = TypeId ("ns3::Ipv4GlobalRouting") .SetParent () + .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), diff --git a/src/internet/model/ipv4-header.cc b/src/internet/model/ipv4-header.cc index befec4b2b..4dd5f4151 100644 --- a/src/internet/model/ipv4-header.cc +++ b/src/internet/model/ipv4-header.cc @@ -320,6 +320,7 @@ Ipv4Header::GetTypeId (void) { static TypeId tid = TypeId ("ns3::Ipv4Header") .SetParent
() + .SetGroupName ("Internet") .AddConstructor () ; return tid; diff --git a/src/internet/model/ipv4-l3-protocol.cc b/src/internet/model/ipv4-l3-protocol.cc index 09337fd42..9722d7245 100644 --- a/src/internet/model/ipv4-l3-protocol.cc +++ b/src/internet/model/ipv4-l3-protocol.cc @@ -53,6 +53,7 @@ Ipv4L3Protocol::GetTypeId (void) { static TypeId tid = TypeId ("ns3::Ipv4L3Protocol") .SetParent () + .SetGroupName ("Internet") .AddConstructor () .AddAttribute ("DefaultTos", "The TOS value set by default on " diff --git a/src/internet/model/ipv4-list-routing.cc b/src/internet/model/ipv4-list-routing.cc index 4c91654a5..945d32724 100644 --- a/src/internet/model/ipv4-list-routing.cc +++ b/src/internet/model/ipv4-list-routing.cc @@ -35,6 +35,7 @@ Ipv4ListRouting::GetTypeId (void) { static TypeId tid = TypeId ("ns3::Ipv4ListRouting") .SetParent () + .SetGroupName ("Internet") .AddConstructor () ; return tid; diff --git a/src/internet/model/ipv4-packet-info-tag.cc b/src/internet/model/ipv4-packet-info-tag.cc index f669a4aed..0fb73a764 100644 --- a/src/internet/model/ipv4-packet-info-tag.cc +++ b/src/internet/model/ipv4-packet-info-tag.cc @@ -100,6 +100,7 @@ Ipv4PacketInfoTag::GetTypeId (void) { static TypeId tid = TypeId ("ns3::Ipv4PacketInfoTag") .SetParent () + .SetGroupName ("Internet") .AddConstructor () ; return tid; diff --git a/src/internet/model/ipv4-packet-probe.cc b/src/internet/model/ipv4-packet-probe.cc index 117dc43ab..913700e0a 100644 --- a/src/internet/model/ipv4-packet-probe.cc +++ b/src/internet/model/ipv4-packet-probe.cc @@ -39,6 +39,7 @@ Ipv4PacketProbe::GetTypeId () { static TypeId tid = TypeId ("ns3::Ipv4PacketProbe") .SetParent () + .SetGroupName ("Internet") .AddConstructor () .AddTraceSource ( "Output", "The packet plus its IPv4 object and interface " diff --git a/src/internet/model/ipv4-raw-socket-factory.cc b/src/internet/model/ipv4-raw-socket-factory.cc index 02ffa1f05..8f119a3bf 100644 --- a/src/internet/model/ipv4-raw-socket-factory.cc +++ b/src/internet/model/ipv4-raw-socket-factory.cc @@ -31,6 +31,7 @@ TypeId Ipv4RawSocketFactory::GetTypeId (void) { static TypeId tid = TypeId ("ns3::Ipv4RawSocketFactory") .SetParent () + .SetGroupName ("Internet") ; return tid; } diff --git a/src/internet/model/ipv4-raw-socket-impl.cc b/src/internet/model/ipv4-raw-socket-impl.cc index b5f1a248c..0eca83c70 100644 --- a/src/internet/model/ipv4-raw-socket-impl.cc +++ b/src/internet/model/ipv4-raw-socket-impl.cc @@ -24,6 +24,7 @@ Ipv4RawSocketImpl::GetTypeId (void) { static TypeId tid = TypeId ("ns3::Ipv4RawSocketImpl") .SetParent () + .SetGroupName ("Internet") .AddAttribute ("Protocol", "Protocol number to match.", UintegerValue (0), MakeUintegerAccessor (&Ipv4RawSocketImpl::m_protocol), diff --git a/src/internet/model/ipv4-routing-protocol.cc b/src/internet/model/ipv4-routing-protocol.cc index dcbc5ea3f..7f0316ec3 100644 --- a/src/internet/model/ipv4-routing-protocol.cc +++ b/src/internet/model/ipv4-routing-protocol.cc @@ -31,6 +31,7 @@ TypeId Ipv4RoutingProtocol::GetTypeId (void) { static TypeId tid = TypeId ("ns3::Ipv4RoutingProtocol") .SetParent () + .SetGroupName ("Internet") ; return tid; } diff --git a/src/internet/model/ipv4-static-routing.cc b/src/internet/model/ipv4-static-routing.cc index bcb3a90e6..76d0fb70a 100644 --- a/src/internet/model/ipv4-static-routing.cc +++ b/src/internet/model/ipv4-static-routing.cc @@ -47,6 +47,7 @@ Ipv4StaticRouting::GetTypeId (void) { static TypeId tid = TypeId ("ns3::Ipv4StaticRouting") .SetParent () + .SetGroupName ("Internet") .AddConstructor () ; return tid; diff --git a/src/internet/model/ipv4.cc b/src/internet/model/ipv4.cc index 456b9c39f..9bb8d9e72 100644 --- a/src/internet/model/ipv4.cc +++ b/src/internet/model/ipv4.cc @@ -35,6 +35,7 @@ Ipv4::GetTypeId (void) { static TypeId tid = TypeId ("ns3::Ipv4") .SetParent () + .SetGroupName ("Internet") .AddAttribute ("IpForward", "Globally enable or disable IP forwarding for all current and future Ipv4 devices.", BooleanValue (true), MakeBooleanAccessor (&Ipv4::SetIpForward, diff --git a/src/internet/model/ipv6-extension-demux.cc b/src/internet/model/ipv6-extension-demux.cc index 04688ae17..f07c19d6e 100644 --- a/src/internet/model/ipv6-extension-demux.cc +++ b/src/internet/model/ipv6-extension-demux.cc @@ -34,6 +34,7 @@ TypeId Ipv6ExtensionDemux::GetTypeId () { static TypeId tid = TypeId ("ns3::Ipv6ExtensionDemux") .SetParent () + .SetGroupName ("Internet") .AddAttribute ("Extensions", "The set of IPv6 extensions registered with this demux.", ObjectVectorValue (), MakeObjectVectorAccessor (&Ipv6ExtensionDemux::m_extensions), diff --git a/src/internet/model/ipv6-extension-header.cc b/src/internet/model/ipv6-extension-header.cc index 07fa203cd..76659ebd3 100644 --- a/src/internet/model/ipv6-extension-header.cc +++ b/src/internet/model/ipv6-extension-header.cc @@ -35,6 +35,7 @@ TypeId Ipv6ExtensionHeader::GetTypeId () static TypeId tid = TypeId ("ns3::Ipv6ExtensionHeader") .AddConstructor () .SetParent
() + .SetGroupName ("Internet") ; return tid; } @@ -206,6 +207,7 @@ TypeId Ipv6ExtensionHopByHopHeader::GetTypeId () static TypeId tid = TypeId ("ns3::Ipv6ExtensionHopByHopHeader") .AddConstructor () .SetParent () + .SetGroupName ("Internet") ; return tid; } @@ -261,6 +263,7 @@ TypeId Ipv6ExtensionDestinationHeader::GetTypeId () static TypeId tid = TypeId ("ns3::Ipv6ExtensionDestinationHeader") .AddConstructor () .SetParent () + .SetGroupName ("Internet") ; return tid; } @@ -316,6 +319,7 @@ TypeId Ipv6ExtensionFragmentHeader::GetTypeId () static TypeId tid = TypeId ("ns3::Ipv6ExtensionFragmentHeader") .AddConstructor () .SetParent () + .SetGroupName ("Internet") ; return tid; } @@ -409,6 +413,7 @@ TypeId Ipv6ExtensionRoutingHeader::GetTypeId () static TypeId tid = TypeId ("ns3::Ipv6ExtensionRoutingHeader") .AddConstructor () .SetParent () + .SetGroupName ("Internet") ; return tid; } @@ -488,6 +493,7 @@ TypeId Ipv6ExtensionLooseRoutingHeader::GetTypeId () static TypeId tid = TypeId ("ns3::Ipv6ExtensionLooseRoutingHeader") .AddConstructor () .SetParent () + .SetGroupName ("Internet") ; return tid; } @@ -595,6 +601,7 @@ TypeId Ipv6ExtensionESPHeader::GetTypeId () static TypeId tid = TypeId ("ns3::Ipv6ExtensionESPHeader") .AddConstructor () .SetParent () + .SetGroupName ("Internet") ; return tid; } @@ -641,6 +648,7 @@ TypeId Ipv6ExtensionAHHeader::GetTypeId () static TypeId tid = TypeId ("ns3::Ipv6ExtensionAHHeader") .AddConstructor () .SetParent () + .SetGroupName ("Internet") ; return tid; } diff --git a/src/internet/model/ipv6-extension.cc b/src/internet/model/ipv6-extension.cc index b9f3237ce..a1855371b 100644 --- a/src/internet/model/ipv6-extension.cc +++ b/src/internet/model/ipv6-extension.cc @@ -50,6 +50,7 @@ TypeId Ipv6Extension::GetTypeId () { static TypeId tid = TypeId ("ns3::Ipv6Extension") .SetParent () + .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 () + .SetGroupName ("Internet") .AddConstructor () ; return tid; @@ -251,6 +253,7 @@ TypeId Ipv6ExtensionDestination::GetTypeId () { static TypeId tid = TypeId ("ns3::Ipv6ExtensionDestination") .SetParent () + .SetGroupName ("Internet") .AddConstructor () ; return tid; @@ -310,6 +313,7 @@ TypeId Ipv6ExtensionFragment::GetTypeId () { static TypeId tid = TypeId ("ns3::Ipv6ExtensionFragment") .SetParent () + .SetGroupName ("Internet") .AddConstructor () ; return tid; @@ -735,6 +739,7 @@ TypeId Ipv6ExtensionRouting::GetTypeId () { static TypeId tid = TypeId ("ns3::Ipv6ExtensionRouting") .SetParent () + .SetGroupName ("Internet") .AddConstructor () ; return tid; @@ -828,6 +833,7 @@ TypeId Ipv6ExtensionRoutingDemux::GetTypeId () { static TypeId tid = TypeId ("ns3::Ipv6ExtensionRoutingDemux") .SetParent () + .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 () + .SetGroupName ("Internet") .AddConstructor () ; return tid; @@ -1054,6 +1061,7 @@ TypeId Ipv6ExtensionESP::GetTypeId () { static TypeId tid = TypeId ("ns3::Ipv6ExtensionESP") .SetParent () + .SetGroupName ("Internet") .AddConstructor () ; return tid; @@ -1099,6 +1107,7 @@ TypeId Ipv6ExtensionAH::GetTypeId () { static TypeId tid = TypeId ("ns3::Ipv6ExtensionAH") .SetParent () + .SetGroupName ("Internet") .AddConstructor () ; return tid; diff --git a/src/internet/model/ipv6-header.cc b/src/internet/model/ipv6-header.cc index 6e9b55023..c7b0425e3 100644 --- a/src/internet/model/ipv6-header.cc +++ b/src/internet/model/ipv6-header.cc @@ -117,6 +117,7 @@ TypeId Ipv6Header::GetTypeId (void) { static TypeId tid = TypeId ("ns3::Ipv6Header") .SetParent
() + .SetGroupName ("Internet") .AddConstructor () ; return tid; diff --git a/src/internet/model/ipv6-interface.cc b/src/internet/model/ipv6-interface.cc index ed8388f92..b277b227f 100644 --- a/src/internet/model/ipv6-interface.cc +++ b/src/internet/model/ipv6-interface.cc @@ -42,6 +42,7 @@ TypeId Ipv6Interface::GetTypeId () { static TypeId tid = TypeId ("ns3::Ipv6Interface") .SetParent () + .SetGroupName ("Internet") ; return tid; } diff --git a/src/internet/model/ipv6-l3-protocol.cc b/src/internet/model/ipv6-l3-protocol.cc index 3d335b67a..fedd4de74 100644 --- a/src/internet/model/ipv6-l3-protocol.cc +++ b/src/internet/model/ipv6-l3-protocol.cc @@ -59,6 +59,7 @@ TypeId Ipv6L3Protocol::GetTypeId () { static TypeId tid = TypeId ("ns3::Ipv6L3Protocol") .SetParent () + .SetGroupName ("Internet") .AddConstructor () .AddAttribute ("DefaultTtl", "The TTL value set by default on all " diff --git a/src/internet/model/ipv6-list-routing.cc b/src/internet/model/ipv6-list-routing.cc index d9784b0b0..4a4e55b03 100644 --- a/src/internet/model/ipv6-list-routing.cc +++ b/src/internet/model/ipv6-list-routing.cc @@ -36,6 +36,7 @@ Ipv6ListRouting::GetTypeId (void) { static TypeId tid = TypeId ("ns3::Ipv6ListRouting") .SetParent () + .SetGroupName ("Internet") .AddConstructor () ; return tid; diff --git a/src/internet/model/ipv6-option-demux.cc b/src/internet/model/ipv6-option-demux.cc index b23dcffd6..3435e9a5d 100644 --- a/src/internet/model/ipv6-option-demux.cc +++ b/src/internet/model/ipv6-option-demux.cc @@ -34,6 +34,7 @@ TypeId Ipv6OptionDemux::GetTypeId () { static TypeId tid = TypeId ("ns3::Ipv6OptionDemux") .SetParent () + .SetGroupName ("Internet") .AddAttribute ("Options", "The set of IPv6 options registered with this demux.", ObjectVectorValue (), MakeObjectVectorAccessor (&Ipv6OptionDemux::m_options), diff --git a/src/internet/model/ipv6-option-header.cc b/src/internet/model/ipv6-option-header.cc index d43a4db9b..9f7570f51 100644 --- a/src/internet/model/ipv6-option-header.cc +++ b/src/internet/model/ipv6-option-header.cc @@ -35,6 +35,7 @@ TypeId Ipv6OptionHeader::GetTypeId () static TypeId tid = TypeId ("ns3::Ipv6OptionHeader") .AddConstructor () .SetParent
() + .SetGroupName ("Internet") ; return tid; } @@ -123,6 +124,7 @@ TypeId Ipv6OptionPad1Header::GetTypeId () static TypeId tid = TypeId ("ns3::Ipv6OptionPad1Header") .AddConstructor () .SetParent () + .SetGroupName ("Internet") ; return tid; } @@ -174,6 +176,7 @@ TypeId Ipv6OptionPadnHeader::GetTypeId () static TypeId tid = TypeId ("ns3::Ipv6OptionPadnHeader") .AddConstructor () .SetParent () + .SetGroupName ("Internet") ; return tid; } @@ -234,6 +237,7 @@ TypeId Ipv6OptionJumbogramHeader::GetTypeId () static TypeId tid = TypeId ("ns3::Ipv6OptionJumbogramHeader") .AddConstructor () .SetParent () + .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 () .SetParent () + .SetGroupName ("Internet") ; return tid; } diff --git a/src/internet/model/ipv6-option.cc b/src/internet/model/ipv6-option.cc index 9418ab4fd..82359088d 100644 --- a/src/internet/model/ipv6-option.cc +++ b/src/internet/model/ipv6-option.cc @@ -35,6 +35,7 @@ TypeId Ipv6Option::GetTypeId () { static TypeId tid = TypeId ("ns3::Ipv6Option") .SetParent () + .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 () + .SetGroupName ("Internet") .AddConstructor () ; return tid; @@ -105,6 +107,7 @@ TypeId Ipv6OptionPadn::GetTypeId () { static TypeId tid = TypeId ("ns3::Ipv6OptionPadn") .SetParent () + .SetGroupName ("Internet") .AddConstructor () ; return tid; @@ -149,6 +152,7 @@ TypeId Ipv6OptionJumbogram::GetTypeId () { static TypeId tid = TypeId ("ns3::Ipv6OptionJumbogram") .SetParent () + .SetGroupName ("Internet") .AddConstructor () ; return tid; @@ -193,6 +197,7 @@ TypeId Ipv6OptionRouterAlert::GetTypeId () { static TypeId tid = TypeId ("ns3::Ipv6OptionRouterAlert") .SetParent () + .SetGroupName ("Internet") .AddConstructor () ; return tid; diff --git a/src/internet/model/ipv6-packet-info-tag.cc b/src/internet/model/ipv6-packet-info-tag.cc index 766096745..505fcb833 100644 --- a/src/internet/model/ipv6-packet-info-tag.cc +++ b/src/internet/model/ipv6-packet-info-tag.cc @@ -87,6 +87,7 @@ Ipv6PacketInfoTag::GetTypeId (void) { static TypeId tid = TypeId ("ns3::Ipv6PacketInfoTag") .SetParent () + .SetGroupName ("Internet") .AddConstructor () ; return tid; diff --git a/src/internet/model/ipv6-packet-probe.cc b/src/internet/model/ipv6-packet-probe.cc index 39677ba35..4e3ba9b41 100644 --- a/src/internet/model/ipv6-packet-probe.cc +++ b/src/internet/model/ipv6-packet-probe.cc @@ -40,6 +40,7 @@ Ipv6PacketProbe::GetTypeId () { static TypeId tid = TypeId ("ns3::Ipv6PacketProbe") .SetParent () + .SetGroupName ("Internet") .AddConstructor () .AddTraceSource ( "Output", "The packet plus its IPv6 object and interface " diff --git a/src/internet/model/ipv6-pmtu-cache.cc b/src/internet/model/ipv6-pmtu-cache.cc index 4e4c652ed..968b29c66 100644 --- a/src/internet/model/ipv6-pmtu-cache.cc +++ b/src/internet/model/ipv6-pmtu-cache.cc @@ -32,6 +32,7 @@ TypeId Ipv6PmtuCache::GetTypeId () { static TypeId tid = TypeId ("ns3::Ipv6PmtuCache") .SetParent () + .SetGroupName ("Internet") .AddAttribute ("CacheExpiryTime", "Validity time for a Path MTU entry. Default is 10 minutes, minimum is 5 minutes.", TimeValue (Seconds (60 * 10)), diff --git a/src/internet/model/ipv6-raw-socket-factory.cc b/src/internet/model/ipv6-raw-socket-factory.cc index cc0e9d85c..78b41f0b4 100644 --- a/src/internet/model/ipv6-raw-socket-factory.cc +++ b/src/internet/model/ipv6-raw-socket-factory.cc @@ -30,6 +30,7 @@ TypeId Ipv6RawSocketFactory::GetTypeId () { static TypeId tid = TypeId ("ns3::Ipv6RawSocketFactory") .SetParent () + .SetGroupName ("Internet") ; return tid; } diff --git a/src/internet/model/ipv6-raw-socket-impl.cc b/src/internet/model/ipv6-raw-socket-impl.cc index 81e5cfd4a..abc651afb 100644 --- a/src/internet/model/ipv6-raw-socket-impl.cc +++ b/src/internet/model/ipv6-raw-socket-impl.cc @@ -46,6 +46,7 @@ TypeId Ipv6RawSocketImpl::GetTypeId () { static TypeId tid = TypeId ("ns3::Ipv6RawSocketImpl") .SetParent () + .SetGroupName ("Internet") .AddAttribute ("Protocol", "Protocol number to match.", UintegerValue (0), MakeUintegerAccessor (&Ipv6RawSocketImpl::m_protocol), diff --git a/src/internet/model/ipv6-routing-protocol.cc b/src/internet/model/ipv6-routing-protocol.cc index 88cd22f07..731e41090 100644 --- a/src/internet/model/ipv6-routing-protocol.cc +++ b/src/internet/model/ipv6-routing-protocol.cc @@ -32,6 +32,7 @@ TypeId Ipv6RoutingProtocol::GetTypeId () { static TypeId tid = TypeId ("ns3::Ipv6RoutingProtocol") .SetParent () + .SetGroupName ("Internet") ; return tid; } diff --git a/src/internet/model/ipv6-static-routing.cc b/src/internet/model/ipv6-static-routing.cc index 4b9863a5a..4e0594298 100644 --- a/src/internet/model/ipv6-static-routing.cc +++ b/src/internet/model/ipv6-static-routing.cc @@ -40,6 +40,7 @@ TypeId Ipv6StaticRouting::GetTypeId () { static TypeId tid = TypeId ("ns3::Ipv6StaticRouting") .SetParent () + .SetGroupName ("Internet") .AddConstructor () ; return tid; diff --git a/src/internet/model/ipv6.cc b/src/internet/model/ipv6.cc index 6e3bab17a..43d194f27 100644 --- a/src/internet/model/ipv6.cc +++ b/src/internet/model/ipv6.cc @@ -35,6 +35,7 @@ TypeId Ipv6::GetTypeId (void) { static TypeId tid = TypeId ("ns3::Ipv6") .SetParent () + .SetGroupName ("Internet") .AddAttribute ("IpForward", "Globally enable or disable IP forwarding for all current and future IPv6 devices.", BooleanValue (false), MakeBooleanAccessor (&Ipv6::SetIpForward, diff --git a/src/internet/model/loopback-net-device.cc b/src/internet/model/loopback-net-device.cc index 28cc43fa2..d85f17d07 100644 --- a/src/internet/model/loopback-net-device.cc +++ b/src/internet/model/loopback-net-device.cc @@ -35,6 +35,7 @@ LoopbackNetDevice::GetTypeId (void) { static TypeId tid = TypeId ("ns3::LoopbackNetDevice") .SetParent () + .SetGroupName ("Internet") .AddConstructor () ; return tid; diff --git a/src/internet/model/ndisc-cache.cc b/src/internet/model/ndisc-cache.cc index 9914e5750..5a9dc0c27 100644 --- a/src/internet/model/ndisc-cache.cc +++ b/src/internet/model/ndisc-cache.cc @@ -39,6 +39,7 @@ TypeId NdiscCache::GetTypeId () { static TypeId tid = TypeId ("ns3::NdiscCache") .SetParent () + .SetGroupName ("Internet") .AddAttribute ("UnresolvedQueueSize", "Size of the queue for packets pending an NA reply.", UintegerValue (DEFAULT_UNRES_QLEN), diff --git a/src/internet/model/nsc-tcp-l4-protocol.cc b/src/internet/model/nsc-tcp-l4-protocol.cc index ca554f720..732ff53d5 100644 --- a/src/internet/model/nsc-tcp-l4-protocol.cc +++ b/src/internet/model/nsc-tcp-l4-protocol.cc @@ -126,6 +126,7 @@ NscTcpL4Protocol::GetTypeId (void) { static TypeId tid = TypeId ("ns3::NscTcpL4Protocol") .SetParent () + .SetGroupName ("Internet") .AddConstructor() .AddAttribute ("SocketList", "The list of sockets associated to this protocol.", ObjectVectorValue (), diff --git a/src/internet/model/nsc-tcp-socket-impl.cc b/src/internet/model/nsc-tcp-socket-impl.cc index c268cf1b7..a14569033 100644 --- a/src/internet/model/nsc-tcp-socket-impl.cc +++ b/src/internet/model/nsc-tcp-socket-impl.cc @@ -54,6 +54,7 @@ NscTcpSocketImpl::GetTypeId () { static TypeId tid = TypeId ("ns3::NscTcpSocketImpl") .SetParent () + .SetGroupName ("Internet") .AddTraceSource ("CongestionWindow", "The TCP connection's congestion window", MakeTraceSourceAccessor (&NscTcpSocketImpl::m_cWnd), diff --git a/src/internet/model/ripng-header.cc b/src/internet/model/ripng-header.cc index 72ce60b62..7ca341818 100644 --- a/src/internet/model/ripng-header.cc +++ b/src/internet/model/ripng-header.cc @@ -35,7 +35,10 @@ RipNgRte::RipNgRte () TypeId RipNgRte::GetTypeId (void) { - static TypeId tid = TypeId ("ns3::RipNgRte").SetParent
().AddConstructor (); + static TypeId tid = TypeId ("ns3::RipNgRte") + .SetParent
() + .SetGroupName ("Internet") + .AddConstructor (); return tid; } @@ -139,7 +142,10 @@ RipNgHeader::RipNgHeader () TypeId RipNgHeader::GetTypeId (void) { - static TypeId tid = TypeId ("ns3::RipNgHeader").SetParent
().AddConstructor (); + static TypeId tid = TypeId ("ns3::RipNgHeader") + .SetParent
() + .SetGroupName ("Internet") + .AddConstructor (); return tid; } diff --git a/src/internet/model/ripng.cc b/src/internet/model/ripng.cc index 52ba212b7..0e4b013b9 100644 --- a/src/internet/model/ripng.cc +++ b/src/internet/model/ripng.cc @@ -57,6 +57,7 @@ RipNg::GetTypeId (void) { static TypeId tid = TypeId ("ns3::RipNg") .SetParent () + .SetGroupName ("Internet") .AddConstructor () .AddAttribute ("UnsolicitedRoutingUpdate", "The time between two Unsolicited Routing Updates.", TimeValue (Seconds(30)), diff --git a/src/internet/model/rtt-estimator.cc b/src/internet/model/rtt-estimator.cc index b13dbe670..3ca8464c3 100644 --- a/src/internet/model/rtt-estimator.cc +++ b/src/internet/model/rtt-estimator.cc @@ -45,6 +45,7 @@ RttEstimator::GetTypeId (void) { static TypeId tid = TypeId ("ns3::RttEstimator") .SetParent () + .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 () + .SetGroupName ("Internet") .AddConstructor () .AddAttribute ("Alpha", "Gain used in estimating the RTT, must be 0 <= alpha <= 1", diff --git a/src/internet/model/tcp-header.cc b/src/internet/model/tcp-header.cc index a7757a541..7a770eb31 100644 --- a/src/internet/model/tcp-header.cc +++ b/src/internet/model/tcp-header.cc @@ -231,6 +231,7 @@ TcpHeader::GetTypeId (void) { static TypeId tid = TypeId ("ns3::TcpHeader") .SetParent
() + .SetGroupName ("Internet") .AddConstructor () ; return tid; diff --git a/src/internet/model/tcp-l4-protocol.cc b/src/internet/model/tcp-l4-protocol.cc index 68f91f9ae..35a311084 100644 --- a/src/internet/model/tcp-l4-protocol.cc +++ b/src/internet/model/tcp-l4-protocol.cc @@ -67,6 +67,7 @@ TcpL4Protocol::GetTypeId (void) { static TypeId tid = TypeId ("ns3::TcpL4Protocol") .SetParent () + .SetGroupName ("Internet") .AddConstructor () .AddAttribute ("RttEstimatorType", "Type of RttEstimator objects.", diff --git a/src/internet/model/tcp-newreno.cc b/src/internet/model/tcp-newreno.cc index a189398b7..d3bf07e7d 100644 --- a/src/internet/model/tcp-newreno.cc +++ b/src/internet/model/tcp-newreno.cc @@ -39,6 +39,7 @@ TcpNewReno::GetTypeId (void) { static TypeId tid = TypeId ("ns3::TcpNewReno") .SetParent () + .SetGroupName ("Internet") .AddConstructor () .AddAttribute ("ReTxThreshold", "Threshold for fast retransmit", UintegerValue (3), diff --git a/src/internet/model/tcp-option-rfc793.cc b/src/internet/model/tcp-option-rfc793.cc index 3991ddadb..29dbf046b 100644 --- a/src/internet/model/tcp-option-rfc793.cc +++ b/src/internet/model/tcp-option-rfc793.cc @@ -43,6 +43,7 @@ TcpOptionEnd::GetTypeId (void) { static TypeId tid = TypeId ("ns3::TcpOptionEnd") .SetParent () + .SetGroupName ("Internet") .AddConstructor () ; return tid; @@ -114,6 +115,7 @@ TcpOptionNOP::GetTypeId (void) { static TypeId tid = TypeId ("ns3::TcpOptionNOP") .SetParent () + .SetGroupName ("Internet") .AddConstructor () ; return tid; @@ -184,6 +186,7 @@ TcpOptionMSS::GetTypeId (void) { static TypeId tid = TypeId ("ns3::TcpOptionMSS") .SetParent () + .SetGroupName ("Internet") .AddConstructor () ; return tid; diff --git a/src/internet/model/tcp-option-ts.cc b/src/internet/model/tcp-option-ts.cc index 2e6d508a4..885d9a9e9 100644 --- a/src/internet/model/tcp-option-ts.cc +++ b/src/internet/model/tcp-option-ts.cc @@ -43,6 +43,7 @@ TcpOptionTS::GetTypeId (void) { static TypeId tid = TypeId ("ns3::TcpOptionTS") .SetParent () + .SetGroupName ("Internet") .AddConstructor () ; return tid; diff --git a/src/internet/model/tcp-option-winscale.cc b/src/internet/model/tcp-option-winscale.cc index c3d47bdac..d01427a7c 100644 --- a/src/internet/model/tcp-option-winscale.cc +++ b/src/internet/model/tcp-option-winscale.cc @@ -43,6 +43,7 @@ TcpOptionWinScale::GetTypeId (void) { static TypeId tid = TypeId ("ns3::TcpOptionWinScale") .SetParent () + .SetGroupName ("Internet") .AddConstructor () ; return tid; diff --git a/src/internet/model/tcp-option.cc b/src/internet/model/tcp-option.cc index f5758dba6..d668f197e 100644 --- a/src/internet/model/tcp-option.cc +++ b/src/internet/model/tcp-option.cc @@ -48,6 +48,7 @@ TcpOption::GetTypeId (void) { static TypeId tid = TypeId ("ns3::TcpOption") .SetParent () + .SetGroupName ("Internet") ; return tid; } @@ -125,6 +126,7 @@ TcpOptionUnknown::GetTypeId (void) { static TypeId tid = TypeId ("ns3::TcpOptionUnknown") .SetParent () + .SetGroupName ("Internet") .AddConstructor () ; return tid; diff --git a/src/internet/model/tcp-reno.cc b/src/internet/model/tcp-reno.cc index e278e6e83..5b7506dde 100644 --- a/src/internet/model/tcp-reno.cc +++ b/src/internet/model/tcp-reno.cc @@ -39,6 +39,7 @@ TcpReno::GetTypeId (void) { static TypeId tid = TypeId ("ns3::TcpReno") .SetParent () + .SetGroupName ("Internet") .AddConstructor () .AddAttribute ("ReTxThreshold", "Threshold for fast retransmit", UintegerValue (3), diff --git a/src/internet/model/tcp-rfc793.cc b/src/internet/model/tcp-rfc793.cc index de8cb3a61..6e215e8d0 100644 --- a/src/internet/model/tcp-rfc793.cc +++ b/src/internet/model/tcp-rfc793.cc @@ -32,6 +32,7 @@ TcpRfc793::GetTypeId (void) { static TypeId tid = TypeId ("ns3::TcpRfc793") .SetParent () + .SetGroupName ("Internet") .AddConstructor () ; return tid; diff --git a/src/internet/model/tcp-rx-buffer.cc b/src/internet/model/tcp-rx-buffer.cc index 78f4ec0ba..dcc5ad95e 100644 --- a/src/internet/model/tcp-rx-buffer.cc +++ b/src/internet/model/tcp-rx-buffer.cc @@ -34,6 +34,7 @@ TcpRxBuffer::GetTypeId (void) { static TypeId tid = TypeId ("ns3::TcpRxBuffer") .SetParent () + .SetGroupName ("Internet") .AddConstructor () .AddTraceSource ("NextRxSequence", "Next sequence number expected (RCV.NXT)", diff --git a/src/internet/model/tcp-socket-base.cc b/src/internet/model/tcp-socket-base.cc index ce5605e56..3f9e18c14 100644 --- a/src/internet/model/tcp-socket-base.cc +++ b/src/internet/model/tcp-socket-base.cc @@ -65,6 +65,7 @@ TcpSocketBase::GetTypeId (void) { static TypeId tid = TypeId ("ns3::TcpSocketBase") .SetParent () + .SetGroupName ("Internet") // .AddAttribute ("TcpState", "State in TCP state machine", // TypeId::ATTR_GET, // EnumValue (CLOSED), diff --git a/src/internet/model/tcp-socket-factory.cc b/src/internet/model/tcp-socket-factory.cc index ca1ae25b8..f39e37ac0 100644 --- a/src/internet/model/tcp-socket-factory.cc +++ b/src/internet/model/tcp-socket-factory.cc @@ -30,6 +30,7 @@ TcpSocketFactory::GetTypeId (void) { static TypeId tid = TypeId ("ns3::TcpSocketFactory") .SetParent () + .SetGroupName ("Internet") ; return tid; } diff --git a/src/internet/model/tcp-socket.cc b/src/internet/model/tcp-socket.cc index 3ebae6db0..794a63056 100644 --- a/src/internet/model/tcp-socket.cc +++ b/src/internet/model/tcp-socket.cc @@ -40,6 +40,7 @@ TcpSocket::GetTypeId (void) { static TypeId tid = TypeId ("ns3::TcpSocket") .SetParent () + .SetGroupName ("Internet") .AddAttribute ("SndBufSize", "TcpSocket maximum transmit buffer size (bytes)", UintegerValue (131072), // 128k diff --git a/src/internet/model/tcp-tahoe.cc b/src/internet/model/tcp-tahoe.cc index 4ec83e02e..8fb84ea47 100644 --- a/src/internet/model/tcp-tahoe.cc +++ b/src/internet/model/tcp-tahoe.cc @@ -39,6 +39,7 @@ TcpTahoe::GetTypeId (void) { static TypeId tid = TypeId ("ns3::TcpTahoe") .SetParent () + .SetGroupName ("Internet") .AddConstructor () .AddAttribute ("ReTxThreshold", "Threshold for fast retransmit", UintegerValue (3), diff --git a/src/internet/model/tcp-tx-buffer.cc b/src/internet/model/tcp-tx-buffer.cc index b9d01286c..38ee485d0 100644 --- a/src/internet/model/tcp-tx-buffer.cc +++ b/src/internet/model/tcp-tx-buffer.cc @@ -39,6 +39,7 @@ TcpTxBuffer::GetTypeId (void) { static TypeId tid = TypeId ("ns3::TcpTxBuffer") .SetParent () + .SetGroupName ("Internet") .AddConstructor () .AddTraceSource ("UnackSequence", "First unacknowledged sequence number (SND.UNA)", diff --git a/src/internet/model/tcp-westwood.cc b/src/internet/model/tcp-westwood.cc index 44090c175..5fb554eed 100644 --- a/src/internet/model/tcp-westwood.cc +++ b/src/internet/model/tcp-westwood.cc @@ -53,6 +53,7 @@ TcpWestwood::GetTypeId (void) { static TypeId tid = TypeId("ns3::TcpWestwood") .SetParent() + .SetGroupName ("Internet") .AddConstructor() .AddTraceSource("CongestionWindow", "The TCP connection's congestion window", MakeTraceSourceAccessor(&TcpWestwood::m_cWnd), diff --git a/src/internet/model/udp-header.cc b/src/internet/model/udp-header.cc index 99c9f5280..431e57452 100644 --- a/src/internet/model/udp-header.cc +++ b/src/internet/model/udp-header.cc @@ -155,6 +155,7 @@ UdpHeader::GetTypeId (void) { static TypeId tid = TypeId ("ns3::UdpHeader") .SetParent
() + .SetGroupName ("Internet") .AddConstructor () ; return tid; diff --git a/src/internet/model/udp-l4-protocol.cc b/src/internet/model/udp-l4-protocol.cc index 1c050d0da..d102ecfdb 100644 --- a/src/internet/model/udp-l4-protocol.cc +++ b/src/internet/model/udp-l4-protocol.cc @@ -54,6 +54,7 @@ UdpL4Protocol::GetTypeId (void) { static TypeId tid = TypeId ("ns3::UdpL4Protocol") .SetParent () + .SetGroupName ("Internet") .AddConstructor () .AddAttribute ("SocketList", "The list of sockets associated to this protocol.", ObjectVectorValue (), diff --git a/src/internet/model/udp-socket-factory.cc b/src/internet/model/udp-socket-factory.cc index 1d00324d9..d1f66cdb3 100644 --- a/src/internet/model/udp-socket-factory.cc +++ b/src/internet/model/udp-socket-factory.cc @@ -28,6 +28,7 @@ TypeId UdpSocketFactory::GetTypeId (void) { static TypeId tid = TypeId ("ns3::UdpSocketFactory") .SetParent () + .SetGroupName ("Internet") ; return tid; } diff --git a/src/internet/model/udp-socket-impl.cc b/src/internet/model/udp-socket-impl.cc index a1d3f9fc5..5f54d4054 100644 --- a/src/internet/model/udp-socket-impl.cc +++ b/src/internet/model/udp-socket-impl.cc @@ -56,6 +56,7 @@ UdpSocketImpl::GetTypeId (void) { static TypeId tid = TypeId ("ns3::UdpSocketImpl") .SetParent () + .SetGroupName ("Internet") .AddConstructor () .AddTraceSource ("Drop", "Drop UDP packet due to receive buffer overflow", diff --git a/src/internet/model/udp-socket.cc b/src/internet/model/udp-socket.cc index 3e4f60349..2e7d798ca 100644 --- a/src/internet/model/udp-socket.cc +++ b/src/internet/model/udp-socket.cc @@ -37,6 +37,7 @@ UdpSocket::GetTypeId (void) { static TypeId tid = TypeId ("ns3::UdpSocket") .SetParent () + .SetGroupName ("Internet") .AddAttribute ("RcvBufSize", "UdpSocket maximum receive buffer size (bytes)", UintegerValue (131072),