|
|
Mld6igmpGroupSet (Mld6igmpVif& mld6igmp_vif)
| Mld6igmpGroupSet |
Constructor for a given vif.
Parameters:
mld6igmp_vif | the interface this set belongs to. |
~Mld6igmpGroupSet ()
| ~Mld6igmpGroupSet |
Mld6igmpGroupRecord* find_group_record (const IPvX& group)
| find_group_record |
Find a group record.
Parameters:
group | the group address. |
Returns: the corresponding group record (Mld6igmpGroupRecord) if found, otherwise NULL.
void delete_payload_and_clear ()
| 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 |
Process MODE_IS_INCLUDE report.
Parameters:
group | the group address. |
sources | the source addresses. |
last_reported_host | the address of the host that last reported as member. |
void process_mode_is_exclude (const IPvX& group, const set<IPvX>& sources,
const IPvX& last_reported_host)
| process_mode_is_exclude |
Process MODE_IS_EXCLUDE report.
Parameters:
group | the group address. |
sources | the source addresses. |
last_reported_host | the address of the host that last reported as member. |
void process_change_to_include_mode (const IPvX& group,
const set<IPvX>& sources,
const IPvX& last_reported_host)
| process_change_to_include_mode |
Process CHANGE_TO_INCLUDE_MODE report.
Parameters:
group | the group address. |
sources | the source addresses. |
last_reported_host | the address of the host that last reported as member. |
void process_change_to_exclude_mode (const IPvX& group,
const set<IPvX>& sources,
const IPvX& last_reported_host)
| process_change_to_exclude_mode |
Process CHANGE_TO_EXCLUDE_MODE report.
Parameters:
group | the group address. |
sources | the source addresses. |
last_reported_host | the address of the host that last reported as member. |
void process_allow_new_sources (const IPvX& group,
const set<IPvX>& sources,
const IPvX& last_reported_host)
| process_allow_new_sources |
Process ALLOW_NEW_SOURCES report.
Parameters:
group | the group address. |
sources | the source addresses. |
last_reported_host | the address of the host that last reported as member. |
void process_block_old_sources (const IPvX& group,
const set<IPvX>& sources,
const IPvX& last_reported_host)
| process_block_old_sources |
Process BLOCK_OLD_SOURCES report.
Parameters:
group | the group address. |
sources | the source addresses. |
last_reported_host | the address of the host that last reported as member. |
void lower_group_timer (const IPvX& group, const TimeVal& timeval)
| lower_group_timer |
Lower the group timer.
Parameters:
group | the group address. |
timeval | the timeout interval the timer should be lowered to. |
void lower_source_timer (const IPvX& group, const set<IPvX>& sources,
const TimeVal& timeval)
| lower_source_timer |
Lower the source timer for a set of sources.
Parameters:
group | the group address. |
sources | the source addresses. |
timeval | the timeout interval the timer should be lowered to. |