equal
deleted
inserted
replaced
47 NS_OBJECT_ENSURE_REGISTERED (Ipv4L3Protocol); |
47 NS_OBJECT_ENSURE_REGISTERED (Ipv4L3Protocol); |
48 |
48 |
49 TypeId |
49 TypeId |
50 Ipv4L3Protocol::GetTypeId (void) |
50 Ipv4L3Protocol::GetTypeId (void) |
51 { |
51 { |
52 static TypeId tid = TypeId ("Ipv4L3Protocol") |
52 static TypeId tid = TypeId ("ns3::Ipv4L3Protocol") |
53 .SetParent<Object> () |
53 .SetParent<Object> () |
54 .AddConstructor<Ipv4L3Protocol> () |
54 .AddConstructor<Ipv4L3Protocol> () |
55 .AddAttribute ("DefaultTtl", "The TTL value set by default on all outgoing packets generated on this node.", |
55 .AddAttribute ("DefaultTtl", "The TTL value set by default on all outgoing packets generated on this node.", |
56 Uinteger (64), |
56 Uinteger (64), |
57 MakeUintegerAccessor (&Ipv4L3Protocol::m_defaultTtl), |
57 MakeUintegerAccessor (&Ipv4L3Protocol::m_defaultTtl), |