src/internet/model/ipv4-interface.cc
changeset 11666 e8634b0101f7
parent 10968 2d29fee2b7b8
child 11954 5916e41a6f07
equal deleted inserted replaced
11665:bb52e7eaaf33 11666:e8634b0101f7
    39 TypeId 
    39 TypeId 
    40 Ipv4Interface::GetTypeId (void)
    40 Ipv4Interface::GetTypeId (void)
    41 {
    41 {
    42   static TypeId tid = TypeId ("ns3::Ipv4Interface")
    42   static TypeId tid = TypeId ("ns3::Ipv4Interface")
    43     .SetParent<Object> ()
    43     .SetParent<Object> ()
       
    44     .SetGroupName ("Internet")
    44     .AddAttribute ("ArpCache",
    45     .AddAttribute ("ArpCache",
    45                    "The arp cache for this ipv4 interface",
    46                    "The arp cache for this ipv4 interface",
    46                    PointerValue (0),
    47                    PointerValue (0),
    47                    MakePointerAccessor (&Ipv4Interface::SetArpCache, 
    48                    MakePointerAccessor (&Ipv4Interface::SetArpCache, 
    48                                         &Ipv4Interface::GetArpCache),
    49                                         &Ipv4Interface::GetArpCache),