--- a/src/helper/ipv6-interface-container.h Tue Dec 29 16:22:06 2009 -0800
+++ b/src/helper/ipv6-interface-container.h Wed Dec 30 14:22:25 2009 +0100
@@ -37,75 +37,75 @@
*/
class Ipv6InterfaceContainer
{
- public:
- /**
- * \brief Constructor.
- */
- Ipv6InterfaceContainer ();
+public:
+ /**
+ * \brief Constructor.
+ */
+ Ipv6InterfaceContainer ();
- /**
- * \brief Get the number of interfaces.
- * \return the number of interfaces stored in this Ipv6InterfaceContainer.
- */
- uint32_t GetN (void) const;
+ /**
+ * \brief Get the number of interfaces.
+ * \return the number of interfaces stored in this Ipv6InterfaceContainer.
+ */
+ uint32_t GetN (void) const;
- /**
- * \brief Get the interface index for the specified node index.
- * \param i index of the node
- * \return interface index
- */
- uint32_t GetInterfaceIndex (uint32_t i) const;
+ /**
+ * \brief Get the interface index for the specified node index.
+ * \param i index of the node
+ * \return interface index
+ */
+ uint32_t GetInterfaceIndex (uint32_t i) const;
- /**
- * \brief Get the address for the specified index.
- * \param i interface index
- * \param j address index, generally index 0 is the link-local address
- * \return IPv6 address
- */
- Ipv6Address GetAddress (uint32_t i, uint32_t j) const;
+ /**
+ * \brief Get the address for the specified index.
+ * \param i interface index
+ * \param j address index, generally index 0 is the link-local address
+ * \return IPv6 address
+ */
+ Ipv6Address GetAddress (uint32_t i, uint32_t j) const;
- /**
- * \brief Add a couple IPv6/interface.
- * \param ipv6 IPv6 address
- * \param interface interface index
- */
- void Add (Ptr<Ipv6> ipv6, uint32_t interface);
+ /**
+ * \brief Add a couple IPv6/interface.
+ * \param ipv6 IPv6 address
+ * \param interface interface index
+ */
+ void Add (Ptr<Ipv6> ipv6, uint32_t interface);
- /**
- * \brief Fusion with another Ipv6InterfaceContainer.
- * \param c container
- */
- void Add (Ipv6InterfaceContainer& c);
+ /**
+ * \brief Fusion with another Ipv6InterfaceContainer.
+ * \param c container
+ */
+ void Add (Ipv6InterfaceContainer& c);
- /**
- * \brief Add a couple of name/interface.
- * \param ipv6Name name of a node
- * \param interface interface index to add
- */
- void Add (std::string ipv6Name, uint32_t interface);
+ /**
+ * \brief Add a couple of name/interface.
+ * \param ipv6Name name of a node
+ * \param interface interface index to add
+ */
+ void Add (std::string ipv6Name, uint32_t interface);
- /**
- * \brief Set the state of the stack (act as a router or not) for the specified index.
- * \param i index
- * \param router true : is a router, false : is an host
- */
- void SetRouter (uint32_t i, bool router);
+ /**
+ * \brief Set the state of the stack (act as a router or not) for the specified index.
+ * \param i index
+ * \param router true : is a router, false : is an host
+ */
+ void SetRouter (uint32_t i, bool router);
- /**
- * \brief Set the default route for the specified index.
- * \param i index
- * \param router the default router
- */
- void SetDefaultRoute (uint32_t i, uint32_t router);
+ /**
+ * \brief Set the default route for the specified index.
+ * \param i index
+ * \param router the default router
+ */
+ void SetDefaultRoute (uint32_t i, uint32_t router);
- private:
- typedef std::vector<std::pair<Ptr<Ipv6>, uint32_t> > InterfaceVector;
+private:
+ typedef std::vector<std::pair<Ptr<Ipv6>, uint32_t> > InterfaceVector;
- /**
- * \internal
- * \brief List of IPv6 stack and interfaces index.
- */
- InterfaceVector m_interfaces;
+ /**
+ * \internal
+ * \brief List of IPv6 stack and interfaces index.
+ */
+ InterfaceVector m_interfaces;
};
} /* namespace ns3 */