📄 rib_xif.hh
字号:
const string& vifname, const uint32_t& metric, const XrlAtomList& policytags, const ReplaceInterfaceRoute4CB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr ReplaceInterfaceRoute6CB; bool send_replace_interface_route6( const char* dst_xrl_target_name, const string& protocol, const bool& unicast, const bool& multicast, const IPv6Net& network, const IPv6& nexthop, const string& ifname, const string& vifname, const uint32_t& metric, const XrlAtomList& policytags, const ReplaceInterfaceRoute6CB& cb ); typedef XorpCallback2<void, const XrlError&, const IPv4*>::RefPtr LookupRouteByDest4CB; /** * Send Xrl intended to: * * Lookup nexthop. * * @param dst_xrl_target_name the Xrl target name of the destination. * * @param addr address to lookup. * * @param unicast look in unicast RIB. * * @param multicast look in multicast RIB. */ bool send_lookup_route_by_dest4( const char* dst_xrl_target_name, const IPv4& addr, const bool& unicast, const bool& multicast, const LookupRouteByDest4CB& cb ); typedef XorpCallback2<void, const XrlError&, const IPv6*>::RefPtr LookupRouteByDest6CB; /** * Send Xrl intended to: * * Lookup nexthop. * * @param dst_xrl_target_name the Xrl target name of the destination. * * @param addr address to lookup. * * @param unicast look in unicast RIB. * * @param multicast look in multicast RIB. */ bool send_lookup_route_by_dest6( const char* dst_xrl_target_name, const IPv6& addr, const bool& unicast, const bool& multicast, const LookupRouteByDest6CB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr NewVifCB; /** * Send Xrl intended to: * * Add a vif or a vif address to the RIB. This interface should be used * only for testing purpose. * * @param dst_xrl_target_name the Xrl target name of the destination. * * @param name the name of the vif. */ bool send_new_vif( const char* dst_xrl_target_name, const string& name, const NewVifCB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr AddVifAddr4CB; /** * Send Xrl intended to: * * Add a vif address to the RIB. This interface should be used only for * testing purpose. * * @param dst_xrl_target_name the Xrl target name of the destination. * * @param name the name of the vif. * * @param addr the address to add. * * @param subnet the subnet address to add. */ bool send_add_vif_addr4( const char* dst_xrl_target_name, const string& name, const IPv4& addr, const IPv4Net& subnet, const AddVifAddr4CB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr AddVifAddr6CB; bool send_add_vif_addr6( const char* dst_xrl_target_name, const string& name, const IPv6& addr, const IPv6Net& subnet, const AddVifAddr6CB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr RedistEnable4CB; /** * Send Xrl intended to: * * Enable route redistribution from one routing protocol to another. * * @param dst_xrl_target_name the Xrl target name of the destination. * * @param to_xrl_target the XRL Target instance name of the caller. The * caller must implement redist4/0.1. * * @param from_protocol the name of the routing process routes are to be * redistributed from. * * @param unicast enable for unicast RIBs matching from and to. * * @param multicast enable for multicast RIBs matching from and to. * * @param network_prefix redistribite only the routes that fall into this * prefix address. * * @param cookie a text value passed back to creator in each call from the * RIB. This allows creators to identity the source of updates it receives * through the redist4/0.1 interface. */ bool send_redist_enable4( const char* dst_xrl_target_name, const string& to_xrl_target, const string& from_protocol, const bool& unicast, const bool& multicast, const IPv4Net& network_prefix, const string& cookie, const RedistEnable4CB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr RedistEnable6CB; /** * Send Xrl intended to: * * Enable route redistribution from one routing protocol to another. * * @param dst_xrl_target_name the Xrl target name of the destination. * * @param to_xrl_target the XRL Target instance name of the caller. The * caller must implement redist6/0.1. * * @param from_protocol the name of the routing process routes are to be * redistributed from. * * @param unicast enable for unicast RIBs matching from and to. * * @param multicast enable for multicast RIBs matching from and to. * * @param network_prefix redistribite only the routes that fall into this * prefix address. * * @param cookie a text value passed back to creator in each call from the * RIB. This allows creators to identity the source of updates it receives * through the redist6/0.1 interface. */ bool send_redist_enable6( const char* dst_xrl_target_name, const string& to_xrl_target, const string& from_protocol, const bool& unicast, const bool& multicast, const IPv6Net& network_prefix, const string& cookie, const RedistEnable6CB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr RedistDisable4CB; /** * Send Xrl intended to: * * Disable route redistribution from one routing protocol to another. * * @param dst_xrl_target_name the Xrl target name of the destination. * * @param to_xrl_target the XRL Target instance name of the caller. The * caller must implement redist4/0.1 and previously called redist_enable4. * * @param unicast disable for unicast RIBs matching from and to. * * @param multicast disable for multicast RIBs matching from and to. * * @param cookie a text value passed back to creator in each call from the * RIB. This allows creators to identity the source of updates it receives * through the redist4/0.1 interface. */ bool send_redist_disable4( const char* dst_xrl_target_name, const string& to_xrl_target, const string& from_protocol, const bool& unicast, const bool& multicast, const string& cookie, const RedistDisable4CB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr RedistDisable6CB; /** * Send Xrl intended to: * * Disable route redistribution from one routing protocol to another. * * @param dst_xrl_target_name the Xrl target name of the destination. * * @param to_xrl_target the XRL Target instance name of the caller. The * caller must implement redist6/0.1 and previously called redist_enable6. * * @param unicast disable for unicast RIBs matching from and to. * * @param multicast disable for multicast RIBs matching from and to. * * @param cookie a text value passed back to creator in each call from the * RIB. This allows creators to identity the source of updates it receives * through the redist6/0.1 interface. */ bool send_redist_disable6( const char* dst_xrl_target_name, const string& to_xrl_target, const string& from_protocol, const bool& unicast, const bool& multicast, const string& cookie, const RedistDisable6CB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr RedistTransactionEnable4CB; /** * Send Xrl intended to: * * Enable transaction-based route redistribution from one routing protocol * to another. * * @param dst_xrl_target_name the Xrl target name of the destination. * * @param to_xrl_target the XRL Target instance name of the caller. The * caller must implement redist_transaction4/0.1. * * @param from_protocol the name of the routing process routes are to be * redistributed from. * * @param unicast enable for unicast RIBs matching from and to. * * @param multicast enable for multicast RIBs matching from and to. * * @param network_prefix redistribite only the routes that fall into this * prefix address. * * @param cookie a text value passed back to creator in each call from the * RIB. This allows creators to identity the source of updates it receives * through the redist_transaction4/0.1 interface. */ bool send_redist_transaction_enable4( const char* dst_xrl_target_name, const string& to_xrl_target, const string& from_protocol, const bool& unicast, const bool& multicast, const IPv4Net& network_prefix, const string& cookie, const RedistTransactionEnable4CB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr RedistTransactionEnable6CB; /** * Send Xrl intended to: * * Enable transaction-based route redistribution from one routing protocol * to another. * * @param dst_xrl_target_name the Xrl target name of the destination. * * @param to_xrl_target the XRL Target instance name of the caller. The * caller must implement redist_transaction6/0.1. * * @param from_protocol the name of the routing process routes are to be * redistributed from. * * @param unicast enable for unicast RIBs matching from and to. * * @param multicast enable for multicast RIBs matching from and to. * * @param network_prefix redistribite only the routes that fall into this * prefix address. * * @param cookie a text value passed back to creator in each call from the * RIB. This allows creators to identity the source of updates it receives * through the redist_transaction6/0.1 interface. */ bool send_redist_transaction_enable6( const char* dst_xrl_target_name, const string& to_xrl_target, const string& from_protocol, const bool& unicast, const bool& multicast, const IPv6Net& network_prefix, const string& cookie, const RedistTransactionEnable6CB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr RedistTransactionDisable4CB; /** * Send Xrl intended to: * * Disable transaction-based route redistribution from one routing * protocol to another. * * @param dst_xrl_target_name the Xrl target name of the destination. * * @param to_xrl_target the XRL Target instance name of the caller. The * caller must implement redist_transaction4/0.1 and previously called * redist_transaction_enable4. * * @param unicast disable for unicast RIBs matching from and to. * * @param multicast disable for multicast RIBs matching from and to. * * @param cookie a text value passed back to creator in each call from the * RIB. This allows creators to identity the source of updates it receives * through the redist_transaction4/0.1 interface. */ bool send_redist_transaction_disable4( const char* dst_xrl_target_name, const string& to_xrl_target, const string& from_protocol, const bool& unicast, const bool& multicast, const string& cookie, const RedistTransactionDisable4CB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr RedistTransactionDisable6CB; /** * Send Xrl intended to: * * Disable transaction-based route redistribution from one routing * protocol to another. * * @param dst_xrl_target_name the Xrl target name of the destination. * * @param to_xrl_target the XRL Target instance name of the caller. The * caller must implement redist_transaction6/0.1 and previously called * redist_transaction_enable6. * * @param unicast disable for unicast RIBs matching from and to. * * @param multicast disable for multicast RIBs matching from and to. * * @param cookie a text value passed back to creator in each call from the * RIB. This allows creators to identity the source of updates it receives * through the redist_transaction6/0.1 interface. */ bool send_redist_transaction_disable6( const char* dst_xrl_target_name, const string& to_xrl_target, const string& from_protocol, const bool& unicast, const bool& multicast, const string& cookie, const RedistTransactionDisable6CB& cb ); typedef XorpCallback7<void, const XrlError&, const bool*, const IPv4*, const uint32_t*, const uint32_t*, const IPv4*, const uint32_t*>::RefPtr RegisterInterest4CB; /** * Send Xrl intended to:
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -