class Mre

Template class for the Multicast Routing Entry. More...

Definition#include <mrt.hh>
Template formMre<class E>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Protected Members


Detailed Description

 Mre (const IPvX& source_addr, const IPvX& group_addr)

Mre

Constructor for a given source and group address.

Parameters:
source_addrthe source address of the entry.
group_addrthe group address of the entry.

 ~Mre ()

~Mre

[virtual]

Destructor

const SourceGroup&  source_group ()

source_group

[const]

Get the source-group entry.

Returns: a reference to the SourceGroup source-group entry

const IPvX&  source_addr ()

source_addr

[const]

Get the source address.

Returns: the source address of the entry.

const IPvX&  group_addr ()

group_addr

[const]

Get the group address.

Returns: the group address of the entry.

bool  is_same_prefix_s (const IPvXNet& prefix_s)

is_same_prefix_s

[const]

Test if this entry matches a source address prefix.

Parameters:
prefix_sthe source address prefix to match against.

Returns: true if the entry source address belongs to address prefix prefix_s, otherwise false.

bool  is_same_prefix_g (const IPvXNet& prefix_g)

is_same_prefix_g

[const]

Test if this entry matches a group address prefix.

Parameters:
prefix_gthe group address prefix to match against.

Returns: true if the entry group address belongs to address prefix prefix_g, otherwise false.

const typename Mrt<E>::sg_iterator&  sg_key ()

sg_key

[const]

Get the source-group table iterator.

Returns: the source-group table iterator for this entry.

const typename Mrt<E>::gs_iterator&  gs_key ()

gs_key

[const]

Get the group-source table iterator.

Returns: the group-source table for this entry.

string  str ()

str

[const]

Convert this entry from binary form to presentation format.

Returns: C++ string with the human-readable ASCII representation of the entry.

friend class Mrt

Mrt

[protected]


Generated by: pavlin on possum.icir.org on Thu Aug 28 12:52:07 2003, using kdoc 2.0a54+XORP.