xorp

PimScopeZoneTable Class Reference

List of all members.

Public Member Functions

 PimScopeZoneTable (PimNode &pim_node)
 PimScopeZoneTable::PimScopeZoneTable: : The associated PIM node.
virtual ~PimScopeZoneTable ()
 PimScopeZoneTable::~PimScopeZoneTable: @:
list< PimScopeZone > & pim_scope_zone_list ()
void add_scope_zone (const IPvXNet &scope_zone_prefix, uint32_t vif_index)
 PimScopeZoneTable::add_scope_zone: : The prefix address of the zone to add.
void delete_scope_zone (const IPvXNet &scope_zone_prefix, uint32_t vif_index)
 PimScopeZoneTable::delete_scope_zone: : The prefix address of the zone to delete.
bool is_scoped (const IPvX &addr, uint32_t vif_index) const
 PimScopeZoneTable::is_scoped: : The address to test whether it is scoped.
bool is_scoped (const PimScopeZoneId &zone_id, uint32_t vif_index) const
 PimScopeZoneTable::is_scoped: : The zone ID to test whether it is scoped.
bool is_zone_border_router (const IPvXNet &group_prefix) const
 PimScopeZoneTable::is_zone_border_router: : The group prefix to test.
PimNodepim_node () const

Private Attributes

PimNode_pim_node
list< PimScopeZone_pim_scope_zone_list

Constructor & Destructor Documentation

PimScopeZoneTable::PimScopeZoneTable ( PimNode pim_node)

PimScopeZoneTable::PimScopeZoneTable: : The associated PIM node.

PimScopeZoneTable constructor.

PimScopeZoneTable::~PimScopeZoneTable ( ) [virtual]

Member Function Documentation

void PimScopeZoneTable::add_scope_zone ( const IPvXNet scope_zone_prefix,
uint32_t  vif_index 
)

PimScopeZoneTable::add_scope_zone: : The prefix address of the zone to add.

: The vif index of the interface to add as zone boundary.

Add a scope zone.

void PimScopeZoneTable::delete_scope_zone ( const IPvXNet scope_zone_prefix,
uint32_t  vif_index 
)

PimScopeZoneTable::delete_scope_zone: : The prefix address of the zone to delete.

: The vif index of the interface to delete as zone boundary.

Delete a scope zone.

bool PimScopeZoneTable::is_scoped ( const IPvX addr,
uint32_t  vif_index 
) const

PimScopeZoneTable::is_scoped: : The address to test whether it is scoped.

: The vif index of the interface to test.

Test if address is scoped on interface with vif index of . Note that we test against all scope zones until a scoping one is found.

Return value: True if is scoped on , otherwise false.

bool PimScopeZoneTable::is_scoped ( const PimScopeZoneId zone_id,
uint32_t  vif_index 
) const

PimScopeZoneTable::is_scoped: : The zone ID to test whether it is scoped.

: The vif index of the interface to test.

Test if zone with zone ID of is scoped on interface with vif index of . Note that we test against all scope zones until a scoping one is found.

Return value: True if is scoped on , otherwise false.

bool PimScopeZoneTable::is_zone_border_router ( const IPvXNet group_prefix) const

PimScopeZoneTable::is_zone_border_router: : The group prefix to test.

Test if the router is a Zone Border Router (ZBR) for .

Return value: True if the router is a ZBR for , otherwise false.


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations