src/internet-node/udp-header.cc
changeset 2650 3de4cacb8981
parent 2646 c1fef7686472
child 2653 b8eff7186c5c
equal deleted inserted replaced
2649:e7c7618c50a2 2650:3de4cacb8981
    96 TypeId 
    96 TypeId 
    97 UdpHeader::GetTypeId (void)
    97 UdpHeader::GetTypeId (void)
    98 {
    98 {
    99   static TypeId tid = TypeId ("ns3::UdpHeader")
    99   static TypeId tid = TypeId ("ns3::UdpHeader")
   100     .SetParent<Header> ()
   100     .SetParent<Header> ()
       
   101     .AddConstructor<UdpHeader> ()
   101     ;
   102     ;
   102   return tid;
   103   return tid;
   103 }
   104 }
   104 TypeId 
   105 TypeId 
   105 UdpHeader::GetInstanceTypeId (void) const
   106 UdpHeader::GetInstanceTypeId (void) const