📄 pim_xif.hh
字号:
const SetVifJoinPrunePeriodCB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr ResetVifJoinPrunePeriodCB; bool send_reset_vif_join_prune_period( const char* dst_xrl_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 dst_xrl_target_name the Xrl target name of the destination. */ bool send_get_switch_to_spt_threshold( const char* dst_xrl_target_name, const GetSwitchToSptThresholdCB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr SetSwitchToSptThresholdCB; bool send_set_switch_to_spt_threshold( const char* dst_xrl_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* dst_xrl_target_name, const ResetSwitchToSptThresholdCB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr AddAlternativeSubnet4CB; /** * Send Xrl intended to: * * Add or delete an alternative subnet on a PIM vif. An alternative subnet * is used to make incoming traffic with a non-local source address appear * as it is coming from a local subnet. Note: add alternative subnets with * extreme care, only if you know what you are really doing! * * @param dst_xrl_target_name the Xrl target name of the destination. * * @param vif_name the name of the vif to add or delete an alternative * subnet. * * @param subnet the subnet address to add or delete. */ bool send_add_alternative_subnet4( const char* dst_xrl_target_name, const string& vif_name, const IPv4Net& subnet, const AddAlternativeSubnet4CB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr AddAlternativeSubnet6CB; bool send_add_alternative_subnet6( const char* dst_xrl_target_name, const string& vif_name, const IPv6Net& subnet, const AddAlternativeSubnet6CB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteAlternativeSubnet4CB; bool send_delete_alternative_subnet4( const char* dst_xrl_target_name, const string& vif_name, const IPv4Net& subnet, const DeleteAlternativeSubnet4CB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteAlternativeSubnet6CB; bool send_delete_alternative_subnet6( const char* dst_xrl_target_name, const string& vif_name, const IPv6Net& subnet, const DeleteAlternativeSubnet6CB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr RemoveAllAlternativeSubnetsCB; bool send_remove_all_alternative_subnets( const char* dst_xrl_target_name, const string& vif_name, const RemoveAllAlternativeSubnetsCB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr LogTraceAllCB; /** * Send Xrl intended to: * * Enable/disable the PIM trace log for all operations. * * @param dst_xrl_target_name the Xrl target name of the destination. * * @param enable if true, then enable the trace log, otherwise disable it. */ bool send_log_trace_all( const char* dst_xrl_target_name, const bool& enable, const LogTraceAllCB& 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 dst_xrl_target_name the Xrl target name of the destination. */ bool send_add_test_jp_entry4( const char* dst_xrl_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& is_new_group, const AddTestJpEntry4CB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr AddTestJpEntry6CB; bool send_add_test_jp_entry6( const char* dst_xrl_target_name, const IPv6& source_addr, const IPv6& group_addr, const uint32_t& group_mask_len, const string& mrt_entry_type, const string& action_jp, const uint32_t& holdtime, const bool& is_new_group, const AddTestJpEntry6CB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr SendTestJpEntry4CB; bool send_send_test_jp_entry4( const char* dst_xrl_target_name, const string& vif_name, const IPv4& nbr_addr, const SendTestJpEntry4CB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr SendTestJpEntry6CB; bool send_send_test_jp_entry6( const char* dst_xrl_target_name, const string& vif_name, const IPv6& nbr_addr, const SendTestJpEntry6CB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr SendTestAssert4CB; /** * Send Xrl intended to: * * Test-related methods: send an Assert message on an interface. * * @param dst_xrl_target_name the Xrl target name of the destination. * * @param vif_name the name of the vif to send the Assert on. * * @param source_addr the source address inside the Assert message. * * @param group_addr the group address inside the Assert message. * * @param rpt_bit the RPT-bit inside the Assert message. * * @param metric_preference the metric preference inside the Assert * message. * * @param metric the metric inside the Assert message. */ bool send_send_test_assert4( const char* dst_xrl_target_name, const string& vif_name, const IPv4& source_addr, const IPv4& group_addr, const bool& rpt_bit, const uint32_t& metric_preference, const uint32_t& metric, const SendTestAssert4CB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr SendTestAssert6CB; bool send_send_test_assert6( const char* dst_xrl_target_name, const string& vif_name, const IPv6& source_addr, const IPv6& group_addr, const bool& rpt_bit, const uint32_t& metric_preference, const uint32_t& metric, const SendTestAssert6CB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr AddTestBsrZone4CB; /** * Send Xrl intended to: * * Test-related methods: send Bootstrap and Cand-RP-Adv messages. * * @param dst_xrl_target_name the Xrl target name of the destination. * * @param zone_id_scope_zone_prefix the zone prefix of the zone ID. * * @param zone_id_is_scope_zone true if the zone is scoped. * * @param bsr_addr the address of the Bootstrap router. * * @param bsr_priority the priority of the Bootstrap router. * * @param hash_mask_len the hash mask length inside the Bootstrap * messages. * * @param fragment_tag the fragment tag inside the Bootstrap messages. */ bool send_add_test_bsr_zone4( const char* dst_xrl_target_name, const IPv4Net& zone_id_scope_zone_prefix, const bool& zone_id_is_scope_zone, const IPv4& bsr_addr, const uint32_t& bsr_priority, const uint32_t& hash_mask_len, const uint32_t& fragment_tag, const AddTestBsrZone4CB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr AddTestBsrZone6CB; bool send_add_test_bsr_zone6( const char* dst_xrl_target_name, const IPv6Net& zone_id_scope_zone_prefix, const bool& zone_id_is_scope_zone, const IPv6& bsr_addr, const uint32_t& bsr_priority, const uint32_t& hash_mask_len, const uint32_t& fragment_tag, const AddTestBsrZone6CB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr AddTestBsrGroupPrefix4CB; bool send_add_test_bsr_group_prefix4( const char* dst_xrl_target_name, const IPv4Net& zone_id_scope_zone_prefix, const bool& zone_id_is_scope_zone, const IPv4Net& group_prefix, const bool& is_scope_zone, const uint32_t& expected_rp_count, const AddTestBsrGroupPrefix4CB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr AddTestBsrGroupPrefix6CB; bool send_add_test_bsr_group_prefix6( const char* dst_xrl_target_name, const IPv6Net& zone_id_scope_zone_prefix, const bool& zone_id_is_scope_zone, const IPv6Net& group_prefix, const bool& is_scope_zone, const uint32_t& expected_rp_count, const AddTestBsrGroupPrefix6CB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr AddTestBsrRp4CB; bool send_add_test_bsr_rp4( const char* dst_xrl_target_name, const IPv4Net& zone_id_scope_zone_prefix, const bool& zone_id_is_scope_zone, const IPv4Net& group_prefix, const IPv4& rp_addr, const uint32_t& rp_priority, const uint32_t& rp_holdtime, const AddTestBsrRp4CB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr AddTestBsrRp6CB; bool send_add_test_bsr_rp6( const char* dst_xrl_target_name, const IPv6Net& zone_id_scope_zone_prefix, const bool& zone_id_is_scope_zone, const IPv6Net& group_prefix, const IPv6& rp_addr, const uint32_t& rp_priority, const uint32_t& rp_holdtime, const AddTestBsrRp6CB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr SendTestBootstrapCB; bool send_send_test_bootstrap( const char* dst_xrl_target_name, const string& vif_name, const SendTestBootstrapCB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr SendTestBootstrapByDest4CB; bool send_send_test_bootstrap_by_dest4( const char* dst_xrl_target_name, const string& vif_name, const IPv4& dest_addr, const SendTestBootstrapByDest4CB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr SendTestBootstrapByDest6CB; bool send_send_test_bootstrap_by_dest6( const char* dst_xrl_target_name, const string& vif_name, const IPv6& dest_addr, const SendTestBootstrapByDest6CB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr SendTestCandRpAdvCB; bool send_send_test_cand_rp_adv( const char* dst_xrl_target_name, const SendTestCandRpAdvCB& cb ); typedef XorpCallback9<void, const XrlError&, const uint32_t*, const XrlAtomList*, const XrlAtomList*, const XrlAtomList*, const XrlAtomList*, const XrlAtomList*, const XrlAtomList*, const XrlAtomList*>::RefPtr PimstatNeighbors4CB; /** * Send Xrl intended to: * * Retrieve information about all PIM neighbors. * * @param dst_xrl_target_name the Xrl target name of the destination. */ bool send_pimstat_neighbors4( const char* dst_xrl_target_name, const PimstatNeighbors4CB& cb ); typedef XorpCallback9<void, const XrlError&, const uint32_t*, const XrlAtomList*, const XrlAtomList*, const XrlAtomList*, const XrlAtomList*, const XrlAtomList*, const XrlAtomList*, const XrlAtomList*>::RefPtr PimstatNeighbors6CB; bool send_pimstat_neighbors6( const char* dst_xrl_target_name, const PimstatNeighbors6CB& cb ); typedef XorpCallback6<void, const XrlError&, const uint32_t*, const bool*, const uint32_t*, const IPv4*, const uint32_t*>::RefPtr PimstatInterface4CB; /** * Send Xrl intended to: * * Retrieve information about PIM interfaces. * * @param dst_xrl_target_name the Xrl target name of the destination. * * @param vif_name the name of the vif to retrieve information about. */ bool send_pimstat_interface4( const char* dst_xrl_target_name, const string& vif_name, const PimstatInterface4CB& cb ); typedef XorpCallback6<void, const XrlError&, const uint32_t*, const bool*, const uint32_t*, const IPv6*, const uint32_t*>::RefPtr PimstatInterface6CB; bool send_pimstat_interface6( const char* dst_xrl_target_name, const string& vif_name, const PimstatInterface6CB& cb ); typedef XorpCallback8<void, const XrlError&, const uint32_t*, const XrlAtomList*, const XrlAtomList*, const XrlAtomList*, const XrlAtomList*, const XrlAtomList*, const XrlAtomList*>::RefPtr PimstatRps4CB; /** * Send Xrl intended to: * * Retrieve information about the RP-Set. * * @param dst_xrl_target_name the Xrl target name of the destination. */ bool send_pimstat_rps4( const char* dst_xrl_target_name, const PimstatRps4CB& cb ); typedef XorpCallback8<void, const XrlError&, const uint32_t*, const XrlAtomList*, const XrlAtomList*, const XrlAtomList*, const XrlAtomList*, const XrlAtomList*, const XrlAtomList*>::RefPtr PimstatRps6CB; bool send_pimstat_rps6( const char* dst_xrl_target_name, const PimstatRps6CB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr ClearPimStatisticsCB; /** * Send Xrl intended to: * * Clear all statistics * * @param dst_xrl_target_name the Xrl target name of the destination.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -