Public Member Functions | Static Public Attributes

ns3::Ipv4MulticastRoute Class Reference
[Ipv4RoutingProtocol]

Ipv4 multicast route cache entry (similar to Linux struct mfc_cache) More...

#include <ipv4-route.h>

Inheritance diagram for ns3::Ipv4MulticastRoute:
Inheritance graph
[legend]
Collaboration diagram for ns3::Ipv4MulticastRoute:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void SetGroup (const Ipv4Address group)
Ipv4Address GetGroup (void) const
void SetOrigin (const Ipv4Address origin)
Ipv4Address GetOrigin (void) const
void SetParent (uint32_t iif)
uint32_t GetParent (void) const
void SetOutputTtl (uint32_t oif, uint32_t ttl)
uint32_t GetOutputTtl (uint32_t oif) const

Static Public Attributes

static const uint32_t MAX_INTERFACES = 16
static const uint32_t MAX_TTL = 255

Detailed Description

Ipv4 multicast route cache entry (similar to Linux struct mfc_cache)


Member Function Documentation

Ipv4Address ns3::Ipv4MulticastRoute::GetGroup ( void   ) const
Returns:
Ipv4Address of the multicast group
Ipv4Address ns3::Ipv4MulticastRoute::GetOrigin ( void   ) const
Returns:
Ipv4Address of the origin address
uint32_t ns3::Ipv4MulticastRoute::GetOutputTtl ( uint32_t  oif ) const
Parameters:
oifoutgoing interface
Returns:
TTL for this route
uint32_t ns3::Ipv4MulticastRoute::GetParent ( void   ) const
Returns:
Parent (input interface) for this route
void ns3::Ipv4MulticastRoute::SetGroup ( const Ipv4Address  group )
Parameters:
groupIpv4Address of the multicast group
void ns3::Ipv4MulticastRoute::SetOrigin ( const Ipv4Address  origin )
Parameters:
originIpv4Address of the origin address
void ns3::Ipv4MulticastRoute::SetOutputTtl ( uint32_t  oif,
uint32_t  ttl 
)
Parameters:
oifOutgoing interface index
ttltime-to-live for this route
void ns3::Ipv4MulticastRoute::SetParent ( uint32_t  iif )
Parameters:
iifParent (input interface) for this route

The documentation for this class was generated from the following file: