xorp

PimMfc Class Reference

Inheritance diagram for PimMfc:
Mre< PimMfc >

List of all members.

Public Member Functions

 PimMfc (PimMrt *pim_mrt, const IPvX &source, const IPvX &group)
PimNodepim_node () const
PimMrtpim_mrt () const
int family () const
const IPvXrp_addr () const
void set_rp_addr (const IPvX &v)
void uncond_set_rp_addr (const IPvX &v)
uint32_t iif_vif_index () const
void set_iif_vif_index (uint32_t v)
const Mifset & olist () const
const Mifset & olist_disable_wrongvif () const
bool is_set_oif (uint32_t vif_index) const
void set_olist (const Mifset &v)
void set_olist_disable_wrongvif (const Mifset &v)
void set_oif (uint32_t vif_index, bool v)
void recompute_rp_mfc ()
void recompute_iif_olist_mfc ()
bool recompute_update_sptbit_mfc ()
void recompute_spt_switch_threshold_changed_mfc ()
void recompute_monitoring_switch_to_spt_desired_mfc ()
void install_spt_switch_dataflow_monitor_mfc (PimMre *pim_mre)
void update_mfc (uint32_t new_iif_vif_index, const Mifset &new_olist, const PimMre *pim_mre_sg)
int add_mfc_to_kernel ()
int delete_mfc_from_kernel ()
int add_dataflow_monitor (uint32_t threshold_interval_sec, uint32_t threshold_interval_usec, uint32_t threshold_packets, uint32_t threshold_bytes, bool is_threshold_in_packets, bool is_threshold_in_bytes, bool is_geq_upcall, bool is_leq_upcall)
int delete_dataflow_monitor (uint32_t threshold_interval_sec, uint32_t threshold_interval_usec, uint32_t threshold_packets, uint32_t threshold_bytes, bool is_threshold_in_packets, bool is_threshold_in_bytes, bool is_geq_upcall, bool is_leq_upcall)
int delete_all_dataflow_monitor ()
bool entry_try_remove ()
bool entry_can_remove () const
void remove_pim_mfc_entry_mfc ()
bool is_task_delete_pending () const
void set_is_task_delete_pending (bool v)
bool is_task_delete_done () const
void set_is_task_delete_done (bool v)
bool has_idle_dataflow_monitor () const
void set_has_idle_dataflow_monitor (bool v)
bool has_spt_switch_dataflow_monitor () const
void set_has_spt_switch_dataflow_monitor (bool v)
bool has_forced_deletion () const
void set_has_forced_deletion (bool v)

Private Types

enum  {
  PIM_MFC_TASK_DELETE_PENDING = 1 << 0, PIM_MFC_TASK_DELETE_DONE = 1 << 1, PIM_MFC_HAS_IDLE_DATAFLOW_MONITOR = 1 << 2, PIM_MFC_HAS_SPT_SWITCH_DATAFLOW_MONITOR = 1 << 3,
  PIM_MFC_HAS_FORCED_DELETION = 1 << 4
}

Private Attributes

PimMrt_pim_mrt
IPvX _rp_addr
uint32_t _iif_vif_index
Mifset _olist
Mifset _olist_disable_wrongvif
uint32_t _flags

The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations