|
|
Mre (const IPvX& source_addr, const IPvX& group_addr)
| Mre |
Constructor for a given source and group address.
Parameters:
source_addr | the source address of the entry. |
group_addr | the group address of the entry. |
~Mre ()
| ~Mre |
[virtual]
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_s | the 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_g | the 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]