View | Details | Raw Unified | Return to bug 1395
Collapse All | Expand All

(-)a/src/aodv/model/aodv-routing-protocol.cc (-2 / +11 lines)
 Lines 53-60    Link Here 
53
53
54
//-----------------------------------------------------------------------------
54
//-----------------------------------------------------------------------------
55
/// Tag used by AODV implementation
55
/// Tag used by AODV implementation
56
struct DeferredRouteOutputTag : public Tag
56
57
class DeferredRouteOutputTag : public Tag
57
{
58
{
59
60
public:
58
  /// Positive if output device is fixed in RouteOutput
61
  /// Positive if output device is fixed in RouteOutput
59
  int32_t oif;
62
  int32_t oif;
60
63
 Lines 62-68    Link Here 
62
65
63
  static TypeId GetTypeId ()
66
  static TypeId GetTypeId ()
64
  {
67
  {
65
    static TypeId tid = TypeId ("ns3::aodv::DeferredRouteOutputTag").SetParent<Tag> ();
68
    static TypeId tid = TypeId ("ns3::aodv::DeferredRouteOutputTag").SetParent<Tag> ()
69
      .SetParent<Tag> ()
70
      .AddConstructor<DeferredRouteOutputTag> ()
71
    ;
66
    return tid;
72
    return tid;
67
  }
73
  }
68
74
 Lines 92-97    Link Here 
92
  }
98
  }
93
};
99
};
94
100
101
NS_OBJECT_ENSURE_REGISTERED (DeferredRouteOutputTag);
102
103
95
//-----------------------------------------------------------------------------
104
//-----------------------------------------------------------------------------
96
RoutingProtocol::RoutingProtocol () :
105
RoutingProtocol::RoutingProtocol () :
97
  RreqRetries (2),
106
  RreqRetries (2),

Return to bug 1395