equal
deleted
inserted
replaced
44 UdpL4Protocol::GetTypeId (void) |
44 UdpL4Protocol::GetTypeId (void) |
45 { |
45 { |
46 static TypeId tid = TypeId ("UdpL4Protocol") |
46 static TypeId tid = TypeId ("UdpL4Protocol") |
47 .SetParent<Ipv4L4Protocol> () |
47 .SetParent<Ipv4L4Protocol> () |
48 .AddConstructor<UdpL4Protocol> () |
48 .AddConstructor<UdpL4Protocol> () |
49 .AddAttribute ("Node", "The node which contains this protocol.", |
|
50 TypeId::ATTR_GET | TypeId::ATTR_CONSTRUCT, |
|
51 Ptr<Node> (0), |
|
52 MakePtrAccessor (&UdpL4Protocol::m_node), |
|
53 MakePtrChecker<Node> ()) |
|
54 ; |
49 ; |
55 return tid; |
50 return tid; |
56 } |
51 } |
57 |
52 |
58 UdpL4Protocol::UdpL4Protocol () |
53 UdpL4Protocol::UdpL4Protocol () |