pim_xif.hh

来自「BCAST Implementation for NS2」· HH 代码 · 共 2,204 行 · 第 1/5 页

HH
2,204
字号
    typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteConfigCandRpByVifName6CB;    bool send_delete_config_cand_rp_by_vif_name6(	const char*	target_name, 	const IPv6Net&	group_prefix, 	const bool&	is_scope_zone, 	const string&	vif_name, 	const DeleteConfigCandRpByVifName6CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteConfigCandRpByAddr4CB;    bool send_delete_config_cand_rp_by_addr4(	const char*	target_name, 	const IPv4Net&	group_prefix, 	const bool&	is_scope_zone, 	const IPv4&	cand_rp_addr, 	const DeleteConfigCandRpByAddr4CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteConfigCandRpByAddr6CB;    bool send_delete_config_cand_rp_by_addr6(	const char*	target_name, 	const IPv6Net&	group_prefix, 	const bool&	is_scope_zone, 	const IPv6&	cand_rp_addr, 	const DeleteConfigCandRpByAddr6CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr AddConfigStaticRp4CB;    /**     *  Send Xrl intended to:     *       *  Add/delete/complete static RP configuration.     *       *  @param tgt_name Xrl Target name     *       *  @param group_prefix the group prefix for the RP.     *       *  @param rp_addr the RP address.     *       *  @param rp_priority the RP priority (smaller is better).     *       *  @param hash_mask_len the hash mask length used in computing an RP for a     *  group. It should be same across all RPs. If set to zero, the default     *  one will be used.     */    bool send_add_config_static_rp4(	const char*	target_name, 	const IPv4Net&	group_prefix, 	const IPv4&	rp_addr, 	const uint32_t&	rp_priority, 	const uint32_t&	hash_mask_len, 	const AddConfigStaticRp4CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr AddConfigStaticRp6CB;    bool send_add_config_static_rp6(	const char*	target_name, 	const IPv6Net&	group_prefix, 	const IPv6&	rp_addr, 	const uint32_t&	rp_priority, 	const uint32_t&	hash_mask_len, 	const AddConfigStaticRp6CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteConfigStaticRp4CB;    bool send_delete_config_static_rp4(	const char*	target_name, 	const IPv4Net&	group_prefix, 	const IPv4&	rp_addr, 	const DeleteConfigStaticRp4CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteConfigStaticRp6CB;    bool send_delete_config_static_rp6(	const char*	target_name, 	const IPv6Net&	group_prefix, 	const IPv6&	rp_addr, 	const DeleteConfigStaticRp6CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr ConfigStaticRpDoneCB;    bool send_config_static_rp_done(	const char*	target_name, 	const ConfigStaticRpDoneCB&	cb    );    typedef XorpCallback2<void, const XrlError&, const uint32_t*>::RefPtr GetVifProtoVersionCB;    /**     *  Send Xrl intended to:     *       *  Configure PIM Hello-related metrics. The 'set_foo' XRLs set the     *  particular values. The 'reset_foo' XRLs reset the metrics to their     *  default values.     *       *  @param tgt_name Xrl Target name     *       *  @param vif_name the name of the vif to configure.     */    bool send_get_vif_proto_version(	const char*	target_name, 	const string&	vif_name, 	const GetVifProtoVersionCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr SetVifProtoVersionCB;    bool send_set_vif_proto_version(	const char*	target_name, 	const string&	vif_name, 	const uint32_t&	proto_version, 	const SetVifProtoVersionCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr ResetVifProtoVersionCB;    bool send_reset_vif_proto_version(	const char*	target_name, 	const string&	vif_name, 	const ResetVifProtoVersionCB&	cb    );    typedef XorpCallback2<void, const XrlError&, const uint32_t*>::RefPtr GetVifHelloTriggeredDelayCB;    bool send_get_vif_hello_triggered_delay(	const char*	target_name, 	const string&	vif_name, 	const GetVifHelloTriggeredDelayCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr SetVifHelloTriggeredDelayCB;    bool send_set_vif_hello_triggered_delay(	const char*	target_name, 	const string&	vif_name, 	const uint32_t&	hello_triggered_delay, 	const SetVifHelloTriggeredDelayCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr ResetVifHelloTriggeredDelayCB;    bool send_reset_vif_hello_triggered_delay(	const char*	target_name, 	const string&	vif_name, 	const ResetVifHelloTriggeredDelayCB&	cb    );    typedef XorpCallback2<void, const XrlError&, const uint32_t*>::RefPtr GetVifHelloPeriodCB;    bool send_get_vif_hello_period(	const char*	target_name, 	const string&	vif_name, 	const GetVifHelloPeriodCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr SetVifHelloPeriodCB;    bool send_set_vif_hello_period(	const char*	target_name, 	const string&	vif_name, 	const uint32_t&	hello_period, 	const SetVifHelloPeriodCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr ResetVifHelloPeriodCB;    bool send_reset_vif_hello_period(	const char*	target_name, 	const string&	vif_name, 	const ResetVifHelloPeriodCB&	cb    );    typedef XorpCallback2<void, const XrlError&, const uint32_t*>::RefPtr GetVifHelloHoldtimeCB;    bool send_get_vif_hello_holdtime(	const char*	target_name, 	const string&	vif_name, 	const GetVifHelloHoldtimeCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr SetVifHelloHoldtimeCB;    bool send_set_vif_hello_holdtime(	const char*	target_name, 	const string&	vif_name, 	const uint32_t&	hello_holdtime, 	const SetVifHelloHoldtimeCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr ResetVifHelloHoldtimeCB;    bool send_reset_vif_hello_holdtime(	const char*	target_name, 	const string&	vif_name, 	const ResetVifHelloHoldtimeCB&	cb    );    typedef XorpCallback2<void, const XrlError&, const uint32_t*>::RefPtr GetVifDrPriorityCB;    bool send_get_vif_dr_priority(	const char*	target_name, 	const string&	vif_name, 	const GetVifDrPriorityCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr SetVifDrPriorityCB;    bool send_set_vif_dr_priority(	const char*	target_name, 	const string&	vif_name, 	const uint32_t&	dr_priority, 	const SetVifDrPriorityCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr ResetVifDrPriorityCB;    bool send_reset_vif_dr_priority(	const char*	target_name, 	const string&	vif_name, 	const ResetVifDrPriorityCB&	cb    );    typedef XorpCallback2<void, const XrlError&, const uint32_t*>::RefPtr GetVifLanDelayCB;    bool send_get_vif_lan_delay(	const char*	target_name, 	const string&	vif_name, 	const GetVifLanDelayCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr SetVifLanDelayCB;    bool send_set_vif_lan_delay(	const char*	target_name, 	const string&	vif_name, 	const uint32_t&	lan_delay, 	const SetVifLanDelayCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr ResetVifLanDelayCB;    bool send_reset_vif_lan_delay(	const char*	target_name, 	const string&	vif_name, 	const ResetVifLanDelayCB&	cb    );    typedef XorpCallback2<void, const XrlError&, const uint32_t*>::RefPtr GetVifOverrideIntervalCB;    bool send_get_vif_override_interval(	const char*	target_name, 	const string&	vif_name, 	const GetVifOverrideIntervalCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr SetVifOverrideIntervalCB;    bool send_set_vif_override_interval(	const char*	target_name, 	const string&	vif_name, 	const uint32_t&	override_interval, 	const SetVifOverrideIntervalCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr ResetVifOverrideIntervalCB;    bool send_reset_vif_override_interval(	const char*	target_name, 	const string&	vif_name, 	const ResetVifOverrideIntervalCB&	cb    );    typedef XorpCallback2<void, const XrlError&, const bool*>::RefPtr GetVifIsTrackingSupportDisabledCB;    bool send_get_vif_is_tracking_support_disabled(	const char*	target_name, 	const string&	vif_name, 	const GetVifIsTrackingSupportDisabledCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr SetVifIsTrackingSupportDisabledCB;    bool send_set_vif_is_tracking_support_disabled(	const char*	target_name, 	const string&	vif_name, 	const bool&	is_tracking_support_disabled, 	const SetVifIsTrackingSupportDisabledCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr ResetVifIsTrackingSupportDisabledCB;    bool send_reset_vif_is_tracking_support_disabled(	const char*	target_name, 	const string&	vif_name, 	const ResetVifIsTrackingSupportDisabledCB&	cb    );    typedef XorpCallback2<void, const XrlError&, const bool*>::RefPtr GetVifAcceptNohelloNeighborsCB;    bool send_get_vif_accept_nohello_neighbors(	const char*	target_name, 	const string&	vif_name, 	const GetVifAcceptNohelloNeighborsCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr SetVifAcceptNohelloNeighborsCB;    bool send_set_vif_accept_nohello_neighbors(	const char*	target_name, 	const string&	vif_name, 	const bool&	accept_nohello_neighbors, 	const SetVifAcceptNohelloNeighborsCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr ResetVifAcceptNohelloNeighborsCB;    bool send_reset_vif_accept_nohello_neighbors(	const char*	target_name, 	const string&	vif_name, 	const ResetVifAcceptNohelloNeighborsCB&	cb    );    typedef XorpCallback2<void, const XrlError&, const uint32_t*>::RefPtr GetVifJoinPrunePeriodCB;    /**     *  Send Xrl intended to:     *       *  Configure PIM Join/Prune-related metrics. The 'set_foo' XRLs set the     *  particular values. The 'reset_foo' XRLs reset the metrics to their     *  default values.     *       *  @param tgt_name Xrl Target name     *       *  @param vif_name the name of the vif to configure.     */    bool send_get_vif_join_prune_period(	const char*	target_name, 	const string&	vif_name, 	const GetVifJoinPrunePeriodCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr SetVifJoinPrunePeriodCB;    bool send_set_vif_join_prune_period(	const char*	target_name, 	const string&	vif_name, 	const uint32_t&	join_prune_period, 	const SetVifJoinPrunePeriodCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr ResetVifJoinPrunePeriodCB;    bool send_reset_vif_join_prune_period(	const char*	target_name, 	const string&	vif_name, 	const ResetVifJoinPrunePeriodCB&	cb    );    typedef XorpCallback4<void, const XrlError&, const bool*, const uint32_t*, const uint32_t*>::RefPtr GetSwitchToSptThresholdCB;    /**     *  Send Xrl intended to:     *       *  Configure SPT-switch threshold. The 'set_foo' XRLs set the particular     *  values. The 'reset_foo' XRLs reset the metrics to their default values.     *       *  @param tgt_name Xrl Target name     */    bool send_get_switch_to_spt_threshold(	const char*	target_name, 	const GetSwitchToSptThresholdCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr SetSwitchToSptThresholdCB;    bool send_set_switch_to_spt_threshold(	const char*	target_name, 	const bool&	is_enabled, 	const uint32_t&	interval_sec, 	const uint32_t&	bytes, 	const SetSwitchToSptThresholdCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr ResetSwitchToSptThresholdCB;    bool send_reset_switch_to_spt_threshold(	const char*	target_name, 	const ResetSwitchToSptThresholdCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr EnableLogTraceCB;    /**     *  Send Xrl intended to:     *       *  Enable/disable the PIM trace log.     *       *  @param tgt_name Xrl Target name     */    bool send_enable_log_trace(	const char*	target_name, 	const EnableLogTraceCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr DisableLogTraceCB;    bool send_disable_log_trace(	const char*	target_name, 	const DisableLogTraceCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr AddTestJpEntry4CB;    /**     *  Send Xrl intended to:     *       *  Test-related methods: add Join/Prune entries, and send them to a     *  neighbor.     *       *  @param tgt_name Xrl Target name     */    bool send_add_test_jp_entry4(	const char*	target_name, 	const IPv4&	source_addr, 	const IPv4&	group_addr, 	const uint32_t&	group_mask_len, 	const string&	mrt_entry_type, 	const string&	action_jp, 	const uint32_t&	holdtime, 	const bool&	new_group_bool, 	const AddTestJpEntry4CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr AddTestJpEntry6CB;    bool send_add_test_jp_entry6(	const char*	target_name, 	const IPv6&	source_addr, 	const IPv6&	group_addr, 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?