23 #include "ns3/ipv6-address.h"
24 #include "ns3/simple-ref-count.h"
Describes an IPv6 address.
IPv6 multicast route entry.
void SetOrigin(const Ipv6Address origin)
Set origin address.
std::map< uint32_t, uint32_t > GetOutputTtlMap() const
Ipv6Address m_origin
IPv6 origin (source).
Ipv6Address GetOrigin() const
Get source address.
static const uint32_t MAX_TTL
Maximum Time-To-Live (TTL).
Ipv6MulticastRoute()
Constructor.
static const uint32_t MAX_INTERFACES
Maximum number of multicast interfaces on a router.
Ipv6Address m_group
IPv6 group.
uint32_t GetParent() const
Get parent for this route.
void SetParent(uint32_t iif)
Set parent for this route.
uint32_t m_parent
Source interface.
std::map< uint32_t, uint32_t > m_ttls
TTLs.
void SetGroup(const Ipv6Address group)
Set IPv6 group.
Ipv6Address GetGroup() const
Get IPv6 group.
void SetOutputTtl(uint32_t oif, uint32_t ttl)
set output TTL for this route.
virtual ~Ipv6MulticastRoute()
Destructor.
void SetGateway(Ipv6Address gw)
Set gateway address.
void SetSource(Ipv6Address src)
Set source address.
virtual ~Ipv6Route()
Destructor.
Ipv6Address GetDestination() const
Get destination address.
void SetDestination(Ipv6Address dest)
Set destination address.
Ptr< NetDevice > m_outputDevice
Output device.
Ipv6Address GetSource() const
Get source address.
Ipv6Address m_source
source address.
Ipv6Address m_dest
Destination address.
Ptr< NetDevice > GetOutputDevice() const
Get output device.
Ipv6Address m_gateway
Gateway address.
Ipv6Address GetGateway() const
Get gateway address.
void SetOutputDevice(Ptr< NetDevice > outputDevice)
Set output device for outgoing packets.
Smart pointer class similar to boost::intrusive_ptr.
A template-based reference counting class.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
std::ostream & operator<<(std::ostream &os, const Angles &a)