26 #include "ns3/simple-ref-count.h" 27 #include "ns3/ipv4-address.h" 86 void SetInputIfIndex (uint32_t iif);
87 uint32_t GetInputIfIndex (
void)
const;
96 uint32_t m_inputIfIndex;
Smart pointer class similar to boost::intrusive_ptr.
Ipv4Address GetOrigin(void) const
void SetOrigin(const Ipv4Address origin)
void SetGroup(const Ipv4Address group)
Ipv4Address m_gateway
Gateway address.
void SetParent(uint32_t iif)
void SetSource(Ipv4Address src)
static const uint32_t MAX_INTERFACES
Maximum number of multicast interfaces on a router.
void SetGateway(Ipv4Address gw)
Ipv4Address GetDestination(void) const
Ipv4Address m_source
Source address.
Ipv4Address m_origin
Source of packet.
std::ostream & operator<<(std::ostream &os, const Angles &a)
print a struct Angles to output
Ptr< NetDevice > GetOutputDevice(void) const
Every class exported by the ns3 library is enclosed in the ns3 namespace.
uint32_t GetParent(void) const
IPv4 route cache entry (similar to Linux struct rtable)
void SetOutputDevice(Ptr< NetDevice > outputDevice)
Equivalent in Linux to dst_entry.dev.
Ipv4Address GetGateway(void) const
Ipv4 addresses are stored in host order in this class.
Ipv4Address GetGroup(void) const
Ipv4 multicast route cache entry (similar to Linux struct mfc_cache)
std::map< uint32_t, uint32_t > m_ttls
Time to Live container.
uint32_t m_parent
Source interface.
Ipv4Address GetSource(void) const
Ipv4Address m_group
Group.
A template-based reference counting class.
std::map< uint32_t, uint32_t > GetOutputTtlMap() const
Ptr< NetDevice > m_outputDevice
Output device.
static const uint32_t MAX_TTL
Maximum time-to-live (TTL)
void SetOutputTtl(uint32_t oif, uint32_t ttl)
void SetDestination(Ipv4Address dest)
Ipv4Address m_dest
Destination address.