src/internet-node/ipv4-l4-demux.cc
changeset 2965 4b28e9740e3b
parent 2933 c7983cfa2cb3
equal deleted inserted replaced
2964:4e8cb1577144 2965:4b28e9740e3b
    35 Ipv4L4Demux::GetTypeId (void)
    35 Ipv4L4Demux::GetTypeId (void)
    36 {
    36 {
    37   static TypeId tid = TypeId ("ns3::Ipv4L4Demux")
    37   static TypeId tid = TypeId ("ns3::Ipv4L4Demux")
    38     .SetParent<Object> ()
    38     .SetParent<Object> ()
    39     .AddAttribute ("Protocols", "The set of protocols registered with this demux.",
    39     .AddAttribute ("Protocols", "The set of protocols registered with this demux.",
    40                    ObjectVector (),
    40                    ObjectVectorValue (),
    41                    MakeObjectVectorAccessor (&Ipv4L4Demux::m_protocols),
    41                    MakeObjectVectorAccessor (&Ipv4L4Demux::m_protocols),
    42                    MakeObjectVectorChecker<Ipv4L4Protocol> ())
    42                    MakeObjectVectorChecker<Ipv4L4Protocol> ())
    43     ;
    43     ;
    44   return tid;
    44   return tid;
    45 }
    45 }