class Mld6igmpSourceRecord

A class to store information about a source (within a given multicast group). More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods


Detailed Description

 Mld6igmpSourceRecord (Mld6igmpGroupRecord& group_record, const IPvX& source)

Mld6igmpSourceRecord

Constructor for a given group record and source address.

Parameters:

group_recordthe group record this entry belongs to.
sourcethe source address.
 ~Mld6igmpSourceRecord ()

~Mld6igmpSourceRecord

Destructor.

Mld6igmpGroupRecord&  group_record ()

group_record

[const]

Get the group record this entry belongs to.

Returns: a reference to the group record this entry belongs to.

const IPvX&  source ()

source

[const]

Get the source address.

Returns: the source address.

int  family ()

family

[const]

Get the address family.

Returns: the address family.

void  set_source_timer (const TimeVal& timeval)

set_source_timer

Set the source timer.

Parameters:

timevalthe timeout interval of the source timer.
void  cancel_source_timer ()

cancel_source_timer

Cancel the source timer.

void  lower_source_timer (const TimeVal& timeval)

lower_source_timer

Lower the source timer.

Parameters:

timevalthe timeout interval the source timer should be lowered to.
XorpTimer&  source_timer ()

source_timer

Get a reference to the source timer.

Returns: a reference to the source timer.

uint32_t  timeout_sec ()

timeout_sec

[const]

Get the number of seconds until the source timer expires.

Returns: the number of seconds until the source timer expires.

size_t  query_retransmission_count ()

query_retransmission_count

[const]

Get the Query retransmission count.

Returns: the Query retransmission count.

void  set_query_retransmission_count (size_t v)

set_query_retransmission_count

Set the Query retransmission count.

Parameters:

vthe value to set.

Generated by: pavlin on possum.icir.org on Wed Mar 21 11:23:28 2007, using kdoc $.