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

(-)b7b6d7a1a79f (+5 lines)
 Lines 7425-7430    Link Here 
7425
                   'std::set< unsigned int >', 
7425
                   'std::set< unsigned int >', 
7426
                   [], 
7426
                   [], 
7427
                   is_const=True)
7427
                   is_const=True)
7428
    ## olsr-routing-protocol.h (module 'olsr'):
7429
    cls.add_method('GetRoutingTableAssociation', 
7430
                   'ns3::Ptr< ns3::Ipv4StaticRouting >', 
7431
                   [], 
7432
                   is_const=True)
7428
    ## olsr-routing-protocol.h (module 'olsr'):
7433
    ## olsr-routing-protocol.h (module 'olsr'):
7429
    cls.add_method('GetRoutingTableEntries', 
7434
    cls.add_method('GetRoutingTableEntries', 
7430
                   'std::vector< ns3::olsr::RoutingTableEntry >', 
7435
                   'std::vector< ns3::olsr::RoutingTableEntry >', 
(-)b7b6d7a1a79f (+5 lines)
 Lines 7425-7430    Link Here 
7425
                   'std::set< unsigned int >', 
7425
                   'std::set< unsigned int >', 
7426
                   [], 
7426
                   [], 
7427
                   is_const=True)
7427
                   is_const=True)
7428
    ## olsr-routing-protocol.h (module 'olsr'):
7429
    cls.add_method('GetRoutingTableAssociation', 
7430
                   'ns3::Ptr< ns3::Ipv4StaticRouting >', 
7431
                   [], 
7432
                   is_const=True)
7428
    ## olsr-routing-protocol.h (module 'olsr'):
7433
    ## olsr-routing-protocol.h (module 'olsr'):
7429
    cls.add_method('GetRoutingTableEntries', 
7434
    cls.add_method('GetRoutingTableEntries', 
7430
                   'std::vector< ns3::olsr::RoutingTableEntry >', 
7435
                   'std::vector< ns3::olsr::RoutingTableEntry >', 
(-)b7b6d7a1a79f (+10 lines)
 Lines 1968-1973    Link Here 
1968
}
1968
}
1969
1969
1970
///
1970
///
1971
/// \brief Returns the internal HNA table
1972
///
1973
Ptr<Ipv4StaticRouting>
1974
RoutingProtocol::GetRoutingTableAssociation () const
1975
{
1976
  return m_hnaRoutingTable;
1977
}
1978
1979
1980
///
1971
/// \brief Tests whether or not the specified route uses a non-OLSR
1981
/// \brief Tests whether or not the specified route uses a non-OLSR
1972
///        Returns true if the outgoing interface of the specified route is
1982
///        Returns true if the outgoing interface of the specified route is
1973
///        Returns false otherwise.
1983
///        Returns false otherwise.
(-)b7b6d7a1a79f (+3 lines)
 Lines 132-137    Link Here 
132
  /// Inject Associations from an Ipv4StaticRouting instance
132
  /// Inject Associations from an Ipv4StaticRouting instance
133
  void SetRoutingTableAssociation (Ptr<Ipv4StaticRouting> routingTable);
133
  void SetRoutingTableAssociation (Ptr<Ipv4StaticRouting> routingTable);
134
134
135
  /// Return a copy of the internal HNA table
136
  Ptr<Ipv4StaticRouting> GetRoutingTableAssociation () const;
137
135
protected:
138
protected:
136
  virtual void DoInitialize (void);
139
  virtual void DoInitialize (void);
137
private:
140
private:

Return to bug 1876