src/applications/model/v4ping.cc
changeset 11240 5b6a7efcf062
parent 11085 6e4d08656d7c
equal deleted inserted replaced
11239:925b78e6fbfd 11240:5b6a7efcf062
    35 TypeId 
    35 TypeId 
    36 V4Ping::GetTypeId (void)
    36 V4Ping::GetTypeId (void)
    37 {
    37 {
    38   static TypeId tid = TypeId ("ns3::V4Ping")
    38   static TypeId tid = TypeId ("ns3::V4Ping")
    39     .SetParent<Application> ()
    39     .SetParent<Application> ()
       
    40     .SetGroupName("Applications")
    40     .AddConstructor<V4Ping> ()
    41     .AddConstructor<V4Ping> ()
    41     .AddAttribute ("Remote", 
    42     .AddAttribute ("Remote", 
    42                    "The address of the machine we want to ping.",
    43                    "The address of the machine we want to ping.",
    43                    Ipv4AddressValue (),
    44                    Ipv4AddressValue (),
    44                    MakeIpv4AddressAccessor (&V4Ping::m_remote),
    45                    MakeIpv4AddressAccessor (&V4Ping::m_remote),