29 #include "ns3/application.h"    35 class UniformRandomVariable;
   123   typedef std::map<uint32_t, Ptr<Socket> >::iterator 
SocketMapI;
   125   typedef std::map<uint32_t, Ptr<Socket> >::const_iterator 
SocketMapCI;
 
std::map< uint32_t, EventId > EventIdMap
Container: interface number, EventId. 
virtual void StartApplication()
Start the application. 
RadvdInterfaceList m_configurations
List of configuration for interface. 
Router advertisement daemon. 
std::list< Ptr< RadvdInterface > >::const_iterator RadvdInterfaceListCI
Container Const Iterator: Ptr to RadvdInterface. 
static const uint32_t MAX_INITIAL_RTR_ADVERTISEMENTS
Default value for maximum initial RA advertisements. 
std::list< Ptr< RadvdInterface > >::iterator RadvdInterfaceListI
Container Iterator: Ptr to RadvdInterface. 
std::map< uint32_t, Ptr< Socket > >::iterator SocketMapI
Container Iterator: interface number, Socket. 
std::map< uint32_t, EventId >::const_iterator EventIdMapCI
Container Const Iterator: interface number, EventId. 
SocketMap m_sendSockets
Raw socket to send RA. 
int64_t AssignStreams(int64_t stream)
Assign a fixed random variable stream number to the random variables used by this model...
virtual ~Radvd()
Destructor. 
The base class for all ns3 applications. 
EventIdMap m_unsolicitedEventIds
Event ID map for unsolicited RAs. 
static const uint32_t MIN_DELAY_BETWEEN_RAS
Default value for minimum delay between RA advertisements (ms) 
virtual void DoDispose()
Dispose the instance. 
void HandleRead(Ptr< Socket > socket)
Handle received packet, especially router solicitation. 
std::map< uint32_t, Ptr< Socket > > SocketMap
Container: interface number, Socket. 
static const uint32_t MAX_RA_DELAY_TIME
Default value for maximum delay of RA (ms) 
Every class exported by the ns3 library is enclosed in the ns3 namespace. 
std::map< uint32_t, EventId >::iterator EventIdMapI
Container Iterator: interface number, EventId. 
EventIdMap m_solicitedEventIds
Event ID map for solicited RAs. 
static Ipv6Address GetAllNodesMulticast()
Get the "all nodes multicast" address. 
void Send(Ptr< RadvdInterface > config, Ipv6Address dst=Ipv6Address::GetAllNodesMulticast(), bool reschedule=false)
Send a packet. 
virtual void StopApplication()
Stop the application. 
Describes an IPv6 address. 
void AddConfiguration(Ptr< RadvdInterface > routerInterface)
Add configuration for an interface;. 
Ptr< UniformRandomVariable > m_jitter
Variable to provide jitter in advertisement interval. 
Ptr< Socket > m_recvSocket
Raw socket to receive RS. 
static TypeId GetTypeId(void)
Get the type ID. 
static const uint32_t MAX_INITIAL_RTR_ADVERT_INTERVAL
Default value for maximum initial RA advertisements interval (ms) 
std::list< Ptr< RadvdInterface > > RadvdInterfaceList
Container: Ptr to RadvdInterface. 
a unique identifier for an interface. 
std::map< uint32_t, Ptr< Socket > >::const_iterator SocketMapCI
Container Const Iterator: interface number, Socket.