BsrZone (PimBsr& pim_bsr, const BsrZone& bsr_zone)
| BsrZone |
BsrZone (PimBsr& pim_bsr, const PimScopeZoneId& zone_id)
| BsrZone |
BsrZone (PimBsr& pim_bsr, const IPvX& bsr_addr, uint8_t bsr_priority,
uint8_t hash_mask_len, uint16_t fragment_tag)
| BsrZone |
~BsrZone ()
| ~BsrZone |
PimBsr& pim_bsr ()
| pim_bsr |
bool is_config_bsr_zone ()
| is_config_bsr_zone |
[const]
bool is_active_bsr_zone ()
| is_active_bsr_zone |
[const]
bool is_expire_bsr_zone ()
| is_expire_bsr_zone |
[const]
bool is_test_bsr_zone ()
| is_test_bsr_zone |
[const]
void set_config_bsr_zone (bool v)
| set_config_bsr_zone |
void set_active_bsr_zone (bool v)
| set_active_bsr_zone |
void set_expire_bsr_zone (bool v)
| set_expire_bsr_zone |
void set_test_bsr_zone (bool v)
| set_test_bsr_zone |
const IPvX& bsr_addr ()
| bsr_addr |
[const]
void set_bsr_addr (const IPvX& v)
| set_bsr_addr |
uint8_t bsr_priority ()
| bsr_priority |
[const]
void set_bsr_priority (uint8_t v)
| set_bsr_priority |
uint8_t hash_mask_len ()
| hash_mask_len |
[const]
uint16_t fragment_tag ()
| fragment_tag |
[const]
uint16_t new_fragment_tag ()
| new_fragment_tag |
bool is_accepted_message ()
| is_accepted_message |
[const]
void set_is_accepted_message (bool v)
| set_is_accepted_message |
bool is_unicast_message ()
| is_unicast_message |
[const]
const IPvX& unicast_message_src ()
| unicast_message_src |
[const]
void set_is_unicast_message (bool v, const IPvX& src)
| set_is_unicast_message |
bool is_cancel ()
| is_cancel |
[const]
void set_is_cancel (bool v)
| set_is_cancel |
const PimScopeZoneId& zone_id ()
| zone_id |
[const]
void set_zone_id (const PimScopeZoneId& zone_id)
| set_zone_id |
enum bsr_zone_state_t { STATE_INIT, STATE_CANDIDATE_BSR, STATE_PENDING_BSR, STATE_ELECTED_BSR, STATE_NO_INFO, STATE_ACCEPT_ANY, STATE_ACCEPT_PREFERRED } | bsr_zone_state_t |
bsr_zone_state_t bsr_zone_state ()
| bsr_zone_state |
[const]
void set_bsr_zone_state (bsr_zone_state_t v)
| set_bsr_zone_state |
int update_config_bsr_zone (const BsrZone& new_bsr_zone, string& error_msg)
| update_config_bsr_zone |
Update the configuration of a BSR zone.
Parameters:
new_bsr_zone | the BSR zone with the new configuration. |
error_msg | the error message (if error). |
Returns: XORP_OK on success, otherwise XORP_ERROR.
bool is_consistent (string& error_msg)
| is_consistent |
[const]
bool can_merge_rp_set (const BsrZone& bsr_zone,
string& error_msg)
| can_merge_rp_set |
[const]
void merge_rp_set (const BsrZone& bsr_zone)
| merge_rp_set |
void store_rp_set (const BsrZone& bsr_zone)
| store_rp_set |
XorpTimer& bsr_timer ()
| bsr_timer |
const XorpTimer& const_bsr_timer ()
| const_bsr_timer |
[const]
void expire_bsr_timer ()
| expire_bsr_timer |
XorpTimer& scope_zone_expiry_timer ()
| scope_zone_expiry_timer |
const XorpTimer& const_scope_zone_expiry_timer ()
| const_scope_zone_expiry_timer |
[const]
const list<BsrGroupPrefix *>& bsr_group_prefix_list ()
| bsr_group_prefix_list |
[const]
list<BsrGroupPrefix *>& bsr_group_prefix_list ()
| bsr_group_prefix_list |
BsrGroupPrefix * add_bsr_group_prefix (const IPvXNet& group_prefix_init,
bool is_scope_zone_init,
uint8_t expected_rp_count)
| add_bsr_group_prefix |
void delete_bsr_group_prefix (BsrGroupPrefix *bsr_group_prefix)
| delete_bsr_group_prefix |
BsrGroupPrefix * find_bsr_group_prefix (const IPvXNet& group_prefix)
| find_bsr_group_prefix |
[const]
bool process_candidate_bsr (const BsrZone& cand_bsr_zone)
| process_candidate_bsr |
bool i_am_bsr ()
| i_am_bsr |
[const]
bool is_new_bsr_preferred (const BsrZone& bsr_zone)
| is_new_bsr_preferred |
[const]
bool is_new_bsr_same_priority (const BsrZone& bsr_zone)
| is_new_bsr_same_priority |
[const]
struct TimeVal randomized_override_interval (const IPvX& my_addr,
uint8_t my_priority)
| randomized_override_interval |
[const]
bool is_bsm_forward ()
| is_bsm_forward |
[const]
void set_bsm_forward (bool v)
| set_bsm_forward |
bool is_bsm_originate ()
| is_bsm_originate |
[const]
void set_bsm_originate (bool v)
| set_bsm_originate |
bool i_am_candidate_bsr ()
| i_am_candidate_bsr |
[const]
void set_i_am_candidate_bsr (bool i_am_candidate_bsr,
uint32_t my_vif_index,
const IPvX& my_bsr_addr,
uint8_t my_bsr_priority)
| set_i_am_candidate_bsr |
uint32_t my_vif_index ()
| my_vif_index |
[const]
const IPvX& my_bsr_addr ()
| my_bsr_addr |
[const]
uint8_t my_bsr_priority ()
| my_bsr_priority |
[const]
bool is_my_bsr_addr_explicit ()
| is_my_bsr_addr_explicit |
[const]
void set_is_my_bsr_addr_explicit (bool v)
| set_is_my_bsr_addr_explicit |
BsrRp * find_rp (const IPvXNet& group_prefix,
const IPvX& rp_addr)
| find_rp |
[const]
BsrRp * add_rp (const IPvXNet& group_prefix,
bool is_scope_zone_init,
const IPvX& rp_addr,
uint8_t rp_priority,
uint16_t rp_holdtime,
string& error_msg)
| add_rp |
XorpTimer& candidate_rp_advertise_timer ()
| candidate_rp_advertise_timer |
const XorpTimer& const_candidate_rp_advertise_timer ()
| const_candidate_rp_advertise_timer |
[const]
void start_candidate_rp_advertise_timer ()
| start_candidate_rp_advertise_timer |
void expire_candidate_rp_advertise_timer ()
| expire_candidate_rp_advertise_timer |