xorp

Mld6igmpGroupSet Class Reference

A class to store information about a set of multicast groups. More...

#include <mld6igmp_group_record.hh>

List of all members.

Public Member Functions

 Mld6igmpGroupSet (Mld6igmpVif &mld6igmp_vif)
 Constructor for a given vif.
 ~Mld6igmpGroupSet ()
 Destructor.
Mld6igmpGroupRecordfind_group_record (const IPvX &group)
 Find a group record.
void delete_payload_and_clear ()
 Delete the payload of the set, and clear the set itself.
void process_mode_is_include (const IPvX &group, const set< IPvX > &sources, const IPvX &last_reported_host)
 Process MODE_IS_INCLUDE report.
void process_mode_is_exclude (const IPvX &group, const set< IPvX > &sources, const IPvX &last_reported_host)
 Process MODE_IS_EXCLUDE report.
void process_change_to_include_mode (const IPvX &group, const set< IPvX > &sources, const IPvX &last_reported_host)
 Process CHANGE_TO_INCLUDE_MODE report.
void process_change_to_exclude_mode (const IPvX &group, const set< IPvX > &sources, const IPvX &last_reported_host)
 Process CHANGE_TO_EXCLUDE_MODE report.
void process_allow_new_sources (const IPvX &group, const set< IPvX > &sources, const IPvX &last_reported_host)
 Process ALLOW_NEW_SOURCES report.
void process_block_old_sources (const IPvX &group, const set< IPvX > &sources, const IPvX &last_reported_host)
 Process BLOCK_OLD_SOURCES report.
void lower_group_timer (const IPvX &group, const TimeVal &timeval)
 Lower the group timer.
void lower_source_timer (const IPvX &group, const set< IPvX > &sources, const TimeVal &timeval)
 Lower the source timer for a set of sources.
 Mld6igmpGroupSet (Mld6igmpVif &mld6igmp_vif)
 Constructor for a given vif.
 ~Mld6igmpGroupSet ()
 Destructor.
Mld6igmpGroupRecordfind_group_record (const IPvX &group)
 Find a group record.
void delete_payload_and_clear ()
 Delete the payload of the set, and clear the set itself.
void process_mode_is_include (const IPvX &group, const set< IPvX > &sources, const IPvX &last_reported_host)
 Process MODE_IS_INCLUDE report.
void process_mode_is_exclude (const IPvX &group, const set< IPvX > &sources, const IPvX &last_reported_host)
 Process MODE_IS_EXCLUDE report.
void process_change_to_include_mode (const IPvX &group, const set< IPvX > &sources, const IPvX &last_reported_host)
 Process CHANGE_TO_INCLUDE_MODE report.
void process_change_to_exclude_mode (const IPvX &group, const set< IPvX > &sources, const IPvX &last_reported_host)
 Process CHANGE_TO_EXCLUDE_MODE report.
void process_allow_new_sources (const IPvX &group, const set< IPvX > &sources, const IPvX &last_reported_host)
 Process ALLOW_NEW_SOURCES report.
void process_block_old_sources (const IPvX &group, const set< IPvX > &sources, const IPvX &last_reported_host)
 Process BLOCK_OLD_SOURCES report.
void lower_group_timer (const IPvX &group, const TimeVal &timeval)
 Lower the group timer.
void lower_source_timer (const IPvX &group, const set< IPvX > &sources, const TimeVal &timeval)
 Lower the source timer for a set of sources.

Private Attributes

Mld6igmpVif_mld6igmp_vif

Detailed Description

A class to store information about a set of multicast groups.


Constructor & Destructor Documentation

Mld6igmpGroupSet::Mld6igmpGroupSet ( Mld6igmpVif mld6igmp_vif)

Constructor for a given vif.

Parameters:
mld6igmp_vifthe interface this set belongs to.
Mld6igmpGroupSet::Mld6igmpGroupSet ( Mld6igmpVif mld6igmp_vif)

Constructor for a given vif.

Parameters:
mld6igmp_vifthe interface this set belongs to.

Member Function Documentation

Mld6igmpGroupRecord * Mld6igmpGroupSet::find_group_record ( const IPvX group)

Find a group record.

Parameters:
groupthe group address.
Returns:
the corresponding group record (Mld6igmpGroupRecord) if found, otherwise NULL.
Mld6igmpGroupRecord* Mld6igmpGroupSet::find_group_record ( const IPvX group)

Find a group record.

Parameters:
groupthe group address.
Returns:
the corresponding group record (Mld6igmpGroupRecord) if found, otherwise NULL.
void Mld6igmpGroupSet::lower_group_timer ( const IPvX group,
const TimeVal timeval 
)

Lower the group timer.

Parameters:
groupthe group address.
timevalthe timeout interval the timer should be lowered to.
void Mld6igmpGroupSet::lower_group_timer ( const IPvX group,
const TimeVal timeval 
)

Lower the group timer.

Parameters:
groupthe group address.
timevalthe timeout interval the timer should be lowered to.
void Mld6igmpGroupSet::lower_source_timer ( const IPvX group,
const set< IPvX > &  sources,
const TimeVal timeval 
)

Lower the source timer for a set of sources.

Parameters:
groupthe group address.
sourcesthe source addresses.
timevalthe timeout interval the timer should be lowered to.
void Mld6igmpGroupSet::lower_source_timer ( const IPvX group,
const set< IPvX > &  sources,
const TimeVal timeval 
)

Lower the source timer for a set of sources.

Parameters:
groupthe group address.
sourcesthe source addresses.
timevalthe timeout interval the timer should be lowered to.
void Mld6igmpGroupSet::process_allow_new_sources ( const IPvX group,
const set< IPvX > &  sources,
const IPvX last_reported_host 
)

Process ALLOW_NEW_SOURCES report.

Parameters:
groupthe group address.
sourcesthe source addresses.
last_reported_hostthe address of the host that last reported as member.
void Mld6igmpGroupSet::process_allow_new_sources ( const IPvX group,
const set< IPvX > &  sources,
const IPvX last_reported_host 
)

Process ALLOW_NEW_SOURCES report.

Parameters:
groupthe group address.
sourcesthe source addresses.
last_reported_hostthe address of the host that last reported as member.
void Mld6igmpGroupSet::process_block_old_sources ( const IPvX group,
const set< IPvX > &  sources,
const IPvX last_reported_host 
)

Process BLOCK_OLD_SOURCES report.

Parameters:
groupthe group address.
sourcesthe source addresses.
last_reported_hostthe address of the host that last reported as member.
void Mld6igmpGroupSet::process_block_old_sources ( const IPvX group,
const set< IPvX > &  sources,
const IPvX last_reported_host 
)

Process BLOCK_OLD_SOURCES report.

Parameters:
groupthe group address.
sourcesthe source addresses.
last_reported_hostthe address of the host that last reported as member.
void Mld6igmpGroupSet::process_change_to_exclude_mode ( const IPvX group,
const set< IPvX > &  sources,
const IPvX last_reported_host 
)

Process CHANGE_TO_EXCLUDE_MODE report.

Parameters:
groupthe group address.
sourcesthe source addresses.
last_reported_hostthe address of the host that last reported as member.
void Mld6igmpGroupSet::process_change_to_exclude_mode ( const IPvX group,
const set< IPvX > &  sources,
const IPvX last_reported_host 
)

Process CHANGE_TO_EXCLUDE_MODE report.

Parameters:
groupthe group address.
sourcesthe source addresses.
last_reported_hostthe address of the host that last reported as member.
void Mld6igmpGroupSet::process_change_to_include_mode ( const IPvX group,
const set< IPvX > &  sources,
const IPvX last_reported_host 
)

Process CHANGE_TO_INCLUDE_MODE report.

Parameters:
groupthe group address.
sourcesthe source addresses.
last_reported_hostthe address of the host that last reported as member.
void Mld6igmpGroupSet::process_change_to_include_mode ( const IPvX group,
const set< IPvX > &  sources,
const IPvX last_reported_host 
)

Process CHANGE_TO_INCLUDE_MODE report.

Parameters:
groupthe group address.
sourcesthe source addresses.
last_reported_hostthe address of the host that last reported as member.
void Mld6igmpGroupSet::process_mode_is_exclude ( const IPvX group,
const set< IPvX > &  sources,
const IPvX last_reported_host 
)

Process MODE_IS_EXCLUDE report.

Parameters:
groupthe group address.
sourcesthe source addresses.
last_reported_hostthe address of the host that last reported as member.
void Mld6igmpGroupSet::process_mode_is_exclude ( const IPvX group,
const set< IPvX > &  sources,
const IPvX last_reported_host 
)

Process MODE_IS_EXCLUDE report.

Parameters:
groupthe group address.
sourcesthe source addresses.
last_reported_hostthe address of the host that last reported as member.
void Mld6igmpGroupSet::process_mode_is_include ( const IPvX group,
const set< IPvX > &  sources,
const IPvX last_reported_host 
)

Process MODE_IS_INCLUDE report.

Parameters:
groupthe group address.
sourcesthe source addresses.
last_reported_hostthe address of the host that last reported as member.
void Mld6igmpGroupSet::process_mode_is_include ( const IPvX group,
const set< IPvX > &  sources,
const IPvX last_reported_host 
)

Process MODE_IS_INCLUDE report.

Parameters:
groupthe group address.
sourcesthe source addresses.
last_reported_hostthe address of the host that last reported as member.

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