24 #include "ns3/object-factory.h"
25 #include "ns3/ipv4-routing-helper.h"
26 #include "ns3/node-container.h"
Hold a value for an Attribute.
Ipv4 addresses are stored in host order in this class.
a factory to create ns3::Ipv4RoutingProtocol objects
keep track of a set of node pointers.
Instantiate subclasses of ns3::Object.
Smart pointer class similar to boost::intrusive_ptr.
Helper class that adds RIP routing to nodes.
void Set(std::string name, const AttributeValue &value)
std::map< Ptr< Node >, std::map< uint32_t, uint8_t > > m_interfaceMetrics
Interface Metric set.
std::map< Ptr< Node >, std::set< uint32_t > > m_interfaceExclusions
Interface Exclusion set.
RipHelper & operator=(const RipHelper &o)
Assignment operator declared private and not implemented to disallow assignment and prevent the compi...
void ExcludeInterface(Ptr< Node > node, uint32_t interface)
Exclude an interface from RIP protocol.
RipHelper * Copy(void) const
void SetDefaultRouter(Ptr< Node > node, Ipv4Address nextHop, uint32_t interface)
Install a default route in the node.
int64_t AssignStreams(NodeContainer c, int64_t stream)
Assign a fixed random variable stream number to the random variables used by this model.
void SetInterfaceMetric(Ptr< Node > node, uint32_t interface, uint8_t metric)
Set a metric for an interface.
ObjectFactory m_factory
Object Factory.
virtual Ptr< Ipv4RoutingProtocol > Create(Ptr< Node > node) const
Every class exported by the ns3 library is enclosed in the ns3 namespace.