src/routing/olsr/routing-table.h
changeset 2592 3ebf97150166
parent 2333 5966c42cfea3
equal deleted inserted replaced
2591:83a605082fb6 2592:3ebf97150166
    72   }
    72   }
    73   
    73   
    74 public:
    74 public:
    75 	
    75 	
    76   RoutingTable () {}
    76   RoutingTable () {}
    77   RoutingTable (Ptr<Ipv4> ipv4, const Ipv4Address &mainAddress)
    77 
    78     :
    78   void SetIpv4 (Ptr<Ipv4> ipv4) {m_ipv4 = ipv4;}
    79     m_ipv4 (ipv4),
    79   void SetMainAddress (Ipv4Address mainAddress) {m_mainAddress = mainAddress;}
    80     m_mainAddress (mainAddress)
       
    81   {}
       
    82 
    80 
    83   ~RoutingTable () {}
    81   ~RoutingTable () {}
    84 
    82 
    85   void Clear ();
    83   void Clear ();
    86   uint32_t GetSize () const { return m_table.size (); }
    84   uint32_t GetSize () const { return m_table.size (); }