diff --git a/src/devices/wifi/mgt-headers.cc b/src/devices/wifi/mgt-headers.cc index 87857bfd7..d18baaecd 100644 --- a/src/devices/wifi/mgt-headers.cc +++ b/src/devices/wifi/mgt-headers.cc @@ -66,6 +66,7 @@ MgtProbeRequestHeader::GetTypeId (void) { static TypeId tid = TypeId ("ns3::MgtProbeRequestHeader") .SetParent
() + .AddConstructor () ; return tid; } @@ -144,6 +145,7 @@ MgtProbeResponseHeader::GetTypeId (void) { static TypeId tid = TypeId ("ns3::MgtProbeResponseHeader") .SetParent
() + .AddConstructor () ; return tid; } @@ -253,6 +255,7 @@ MgtAssocRequestHeader::GetTypeId (void) { static TypeId tid = TypeId ("ns3::MgtAssocRequestHeader") .SetParent
() + .AddConstructor () ; return tid; } @@ -334,6 +337,7 @@ MgtAssocResponseHeader::GetTypeId (void) { static TypeId tid = TypeId ("ns3::MgtAssocResponseHeader") .SetParent
() + .AddConstructor () ; return tid; } diff --git a/src/devices/wifi/wifi-mac-header.cc b/src/devices/wifi/wifi-mac-header.cc index 60e680f71..065ddb39b 100644 --- a/src/devices/wifi/wifi-mac-header.cc +++ b/src/devices/wifi/wifi-mac-header.cc @@ -773,6 +773,7 @@ WifiMacHeader::GetTypeId (void) { static TypeId tid = TypeId ("ns3::WifiMacHeader") .SetParent
() + .AddConstructor () ; return tid; } diff --git a/src/devices/wifi/wifi-mac-trailer.cc b/src/devices/wifi/wifi-mac-trailer.cc index ab156dda5..f6d11915a 100644 --- a/src/devices/wifi/wifi-mac-trailer.cc +++ b/src/devices/wifi/wifi-mac-trailer.cc @@ -35,6 +35,7 @@ WifiMacTrailer::GetTypeId (void) { static TypeId tid = TypeId ("ns3::WifiMacTrailer") .SetParent () + .AddConstructor () ; return tid; } diff --git a/src/internet-node/arp-header.cc b/src/internet-node/arp-header.cc index 0ff15bd1d..a4a0b04fb 100644 --- a/src/internet-node/arp-header.cc +++ b/src/internet-node/arp-header.cc @@ -88,6 +88,7 @@ ArpHeader::GetTypeId (void) { static TypeId tid = TypeId ("ns3::ArpHeader") .SetParent
() + .AddConstructor () ; return tid; } diff --git a/src/internet-node/ipv4-header.cc b/src/internet-node/ipv4-header.cc index e8296018f..6d9abcffd 100644 --- a/src/internet-node/ipv4-header.cc +++ b/src/internet-node/ipv4-header.cc @@ -185,6 +185,7 @@ Ipv4Header::GetTypeId (void) { static TypeId tid = TypeId ("ns3::Ipv4Header") .SetParent
() + .AddConstructor () ; return tid; } diff --git a/src/internet-node/tcp-header.cc b/src/internet-node/tcp-header.cc index 989b9680e..f721082ca 100644 --- a/src/internet-node/tcp-header.cc +++ b/src/internet-node/tcp-header.cc @@ -139,6 +139,7 @@ TcpHeader::GetTypeId (void) { static TypeId tid = TypeId ("ns3::TcpHeader") .SetParent
() + .AddConstructor () ; return tid; } diff --git a/src/internet-node/udp-header.cc b/src/internet-node/udp-header.cc index 7682ae880..15aa6ba2d 100644 --- a/src/internet-node/udp-header.cc +++ b/src/internet-node/udp-header.cc @@ -98,6 +98,7 @@ UdpHeader::GetTypeId (void) { static TypeId tid = TypeId ("ns3::UdpHeader") .SetParent
() + .AddConstructor () ; return tid; } diff --git a/src/node/ethernet-header.cc b/src/node/ethernet-header.cc index 45b90f478..9bafd3f30 100644 --- a/src/node/ethernet-header.cc +++ b/src/node/ethernet-header.cc @@ -105,6 +105,7 @@ EthernetHeader::GetTypeId (void) { static TypeId tid = TypeId ("ns3::EthernetHeader") .SetParent
() + .AddConstructor () ; return tid; } diff --git a/src/node/ethernet-trailer.cc b/src/node/ethernet-trailer.cc index e1c0396f8..d032a1314 100644 --- a/src/node/ethernet-trailer.cc +++ b/src/node/ethernet-trailer.cc @@ -91,6 +91,7 @@ EthernetTrailer::GetTypeId (void) { static TypeId tid = TypeId ("ns3::EthernetTrailer") .SetParent () + .AddConstructor () ; return tid; } diff --git a/src/node/llc-snap-header.cc b/src/node/llc-snap-header.cc index 51880a2bc..8aacb47ff 100644 --- a/src/node/llc-snap-header.cc +++ b/src/node/llc-snap-header.cc @@ -52,6 +52,7 @@ LlcSnapHeader::GetTypeId (void) { static TypeId tid = TypeId ("ns3::LlcSnapHeader") .SetParent
() + .AddConstructor () ; return tid; } diff --git a/src/routing/olsr/olsr-header.cc b/src/routing/olsr/olsr-header.cc index bc4c3a17b..51e297078 100644 --- a/src/routing/olsr/olsr-header.cc +++ b/src/routing/olsr/olsr-header.cc @@ -107,6 +107,7 @@ PacketHeader::GetTypeId (void) { static TypeId tid = TypeId ("ns3::olsr::PacketHeader") .SetParent
() + .AddConstructor () ; return tid; } @@ -162,6 +163,7 @@ MessageHeader::GetTypeId (void) { static TypeId tid = TypeId ("ns3::olsr::MessageHeader") .SetParent
() + .AddConstructor () ; return tid; }