Public Types
- typedef XorpCallback2<void, const XrlError&, const bool*>::RefPtr HaveMulticastRouting4CB
- typedef XorpCallback2<void, const XrlError&, const bool*>::RefPtr HaveMulticastRouting6CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr RegisterProtocol4CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr RegisterProtocol6CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr UnregisterProtocol4CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr UnregisterProtocol6CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr AddMfc4CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr AddMfc6CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteMfc4CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteMfc6CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr AddDataflowMonitor4CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr AddDataflowMonitor6CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteDataflowMonitor4CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteDataflowMonitor6CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteAllDataflowMonitor4CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteAllDataflowMonitor6CB
- typedef XorpCallback1<void, const XrlError&>::RefPtr EnableVifCB
- typedef XorpCallback1<void, const XrlError&>::RefPtr StartVifCB
- typedef XorpCallback1<void, const XrlError&>::RefPtr StopVifCB
- typedef XorpCallback1<void, const XrlError&>::RefPtr EnableAllVifsCB
- typedef XorpCallback1<void, const XrlError&>::RefPtr StartAllVifsCB
- typedef XorpCallback1<void, const XrlError&>::RefPtr StopAllVifsCB
- typedef XorpCallback1<void, const XrlError&>::RefPtr EnableMfeaCB
- typedef XorpCallback1<void, const XrlError&>::RefPtr StartMfeaCB
- typedef XorpCallback1<void, const XrlError&>::RefPtr StopMfeaCB
- typedef XorpCallback1<void, const XrlError&>::RefPtr EnableCliCB
- typedef XorpCallback1<void, const XrlError&>::RefPtr StartCliCB
- typedef XorpCallback1<void, const XrlError&>::RefPtr StopCliCB
- typedef XorpCallback1<void, const XrlError&>::RefPtr LogTraceAllCB
Public Methods
- XrlMfeaV0p1Client (XrlSender* s)
- virtual ~XrlMfeaV0p1Client ()
- bool send_have_multicast_routing4 (
const char* dst_xrl_target_name,
const HaveMulticastRouting4CB& cb
)
- bool send_have_multicast_routing6 (
const char* dst_xrl_target_name,
const HaveMulticastRouting6CB& cb
)
- bool send_register_protocol4 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const string& if_name,
const string& vif_name,
const uint32_t& ip_protocol,
const RegisterProtocol4CB& cb
)
- bool send_register_protocol6 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const string& if_name,
const string& vif_name,
const uint32_t& ip_protocol,
const RegisterProtocol6CB& cb
)
- bool send_unregister_protocol4 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const string& if_name,
const string& vif_name,
const UnregisterProtocol4CB& cb
)
- bool send_unregister_protocol6 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const string& if_name,
const string& vif_name,
const UnregisterProtocol6CB& cb
)
- bool send_add_mfc4 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const IPv4& source_address,
const IPv4& group_address,
const uint32_t& iif_vif_index,
const vector<uint8_t>& oiflist,
const vector<uint8_t>& oiflist_disable_wrongvif,
const uint32_t& max_vifs_oiflist,
const IPv4& rp_address,
const AddMfc4CB& cb
)
- bool send_add_mfc6 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const IPv6& source_address,
const IPv6& group_address,
const uint32_t& iif_vif_index,
const vector<uint8_t>& oiflist,
const vector<uint8_t>& oiflist_disable_wrongvif,
const uint32_t& max_vifs_oiflist,
const IPv6& rp_address,
const AddMfc6CB& cb
)
- bool send_delete_mfc4 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const IPv4& source_address,
const IPv4& group_address,
const DeleteMfc4CB& cb
)
- bool send_delete_mfc6 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const IPv6& source_address,
const IPv6& group_address,
const DeleteMfc6CB& cb
)
- bool send_add_dataflow_monitor4 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const IPv4& source_address,
const IPv4& group_address,
const uint32_t& threshold_interval_sec,
const uint32_t& threshold_interval_usec,
const uint32_t& threshold_packets,
const uint32_t& threshold_bytes,
const bool& is_threshold_in_packets,
const bool& is_threshold_in_bytes,
const bool& is_geq_upcall,
const bool& is_leq_upcall,
const AddDataflowMonitor4CB& cb
)
- bool send_add_dataflow_monitor6 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const IPv6& source_address,
const IPv6& group_address,
const uint32_t& threshold_interval_sec,
const uint32_t& threshold_interval_usec,
const uint32_t& threshold_packets,
const uint32_t& threshold_bytes,
const bool& is_threshold_in_packets,
const bool& is_threshold_in_bytes,
const bool& is_geq_upcall,
const bool& is_leq_upcall,
const AddDataflowMonitor6CB& cb
)
- bool send_delete_dataflow_monitor4 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const IPv4& source_address,
const IPv4& group_address,
const uint32_t& threshold_interval_sec,
const uint32_t& threshold_interval_usec,
const uint32_t& threshold_packets,
const uint32_t& threshold_bytes,
const bool& is_threshold_in_packets,
const bool& is_threshold_in_bytes,
const bool& is_geq_upcall,
const bool& is_leq_upcall,
const DeleteDataflowMonitor4CB& cb
)
- bool send_delete_dataflow_monitor6 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const IPv6& source_address,
const IPv6& group_address,
const uint32_t& threshold_interval_sec,
const uint32_t& threshold_interval_usec,
const uint32_t& threshold_packets,
const uint32_t& threshold_bytes,
const bool& is_threshold_in_packets,
const bool& is_threshold_in_bytes,
const bool& is_geq_upcall,
const bool& is_leq_upcall,
const DeleteDataflowMonitor6CB& cb
)
- bool send_delete_all_dataflow_monitor4 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const IPv4& source_address,
const IPv4& group_address,
const DeleteAllDataflowMonitor4CB& cb
)
- bool send_delete_all_dataflow_monitor6 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const IPv6& source_address,
const IPv6& group_address,
const DeleteAllDataflowMonitor6CB& cb
)
- bool send_enable_vif (
const char* dst_xrl_target_name,
const string& vif_name,
const bool& enable,
const EnableVifCB& cb
)
- bool send_start_vif (
const char* dst_xrl_target_name,
const string& vif_name,
const StartVifCB& cb
)
- bool send_stop_vif (
const char* dst_xrl_target_name,
const string& vif_name,
const StopVifCB& cb
)
- bool send_enable_all_vifs (
const char* dst_xrl_target_name,
const bool& enable,
const EnableAllVifsCB& cb
)
- bool send_start_all_vifs (
const char* dst_xrl_target_name,
const StartAllVifsCB& cb
)
- bool send_stop_all_vifs (
const char* dst_xrl_target_name,
const StopAllVifsCB& cb
)
- bool send_enable_mfea (
const char* dst_xrl_target_name,
const bool& enable,
const EnableMfeaCB& cb
)
- bool send_start_mfea (
const char* dst_xrl_target_name,
const StartMfeaCB& cb
)
- bool send_stop_mfea (
const char* dst_xrl_target_name,
const StopMfeaCB& cb
)
- bool send_enable_cli (
const char* dst_xrl_target_name,
const bool& enable,
const EnableCliCB& cb
)
- bool send_start_cli (
const char* dst_xrl_target_name,
const StartCliCB& cb
)
- bool send_stop_cli (
const char* dst_xrl_target_name,
const StopCliCB& cb
)
- bool send_log_trace_all (
const char* dst_xrl_target_name,
const bool& enable,
const LogTraceAllCB& cb
)
Protected Members
XrlMfeaV0p1Client (XrlSender* s)
| XrlMfeaV0p1Client |
~XrlMfeaV0p1Client ()
| ~XrlMfeaV0p1Client |
[virtual]
typedef XorpCallback2<void, const XrlError&, const bool*>::RefPtr HaveMulticastRouting4CB | HaveMulticastRouting4CB |
bool send_have_multicast_routing4 (
const char* dst_xrl_target_name,
const HaveMulticastRouting4CB& cb
)
| send_have_multicast_routing4 |
Send Xrl intended to:
Test if the underlying system supports IPv4 multicast routing.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination.
|
typedef XorpCallback2<void, const XrlError&, const bool*>::RefPtr HaveMulticastRouting6CB | HaveMulticastRouting6CB |
bool send_have_multicast_routing6 (
const char* dst_xrl_target_name,
const HaveMulticastRouting6CB& cb
)
| send_have_multicast_routing6 |
Send Xrl intended to:
Test if the underlying system supports IPv6 multicast routing.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination.
|
bool send_register_protocol4 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const string& if_name,
const string& vif_name,
const uint32_t& ip_protocol,
const RegisterProtocol4CB& cb
)
| send_register_protocol4 |
Send Xrl intended to:
Register a protocol on an interface in the Multicast FEA. There could
be only one registered protocol per interface/vif.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination.
|
xrl_sender_name | the XRL name of the originator of this XRL.
|
if_name | the name of the interface to register for the particular
protocol.
|
vif_name | the name of the vif to register for the particular
protocol.
|
ip_protocol | the IP protocol number. It must be between 1 and
255.
|
bool send_register_protocol6 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const string& if_name,
const string& vif_name,
const uint32_t& ip_protocol,
const RegisterProtocol6CB& cb
)
| send_register_protocol6 |
bool send_unregister_protocol4 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const string& if_name,
const string& vif_name,
const UnregisterProtocol4CB& cb
)
| send_unregister_protocol4 |
Send Xrl intended to:
Unregister a protocol on an interface in the Multicast FEA. There could
be only one registered protocol per interface/vif.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination.
|
xrl_sender_name | the XRL name of the originator of this XRL.
|
if_name | the name of the interface to unregister for the
particular protocol.
|
vif_name | the name of the vif to unregister for the particular
protocol.
|
bool send_unregister_protocol6 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const string& if_name,
const string& vif_name,
const UnregisterProtocol6CB& cb
)
| send_unregister_protocol6 |
bool send_add_mfc4 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const IPv4& source_address,
const IPv4& group_address,
const uint32_t& iif_vif_index,
const vector<uint8_t>& oiflist,
const vector<uint8_t>& oiflist_disable_wrongvif,
const uint32_t& max_vifs_oiflist,
const IPv4& rp_address,
const AddMfc4CB& cb
)
| send_add_mfc4 |
Send Xrl intended to:
Add/delete a Multicast Forwarding Cache with the kernel.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination.
|
xrl_sender_name | the XRL name of the originator of this XRL.
|
source_address | the source address of the MFC to add/delete.
|
group_address | the group address of the MFC to add/delete.
|
iif_vif_index | the index of the vif that is the incoming
interface.
|
oiflist | the bit-vector with the set of outgoing interfaces.
|
oiflist_disable_wrongvif | the bit-vector with the set of outgoing
interfaces to disable WRONGVIF kernel signal.
|
max_vifs_oiflist | the number of vifs covered by oiflist or
oiflist_disable_wrongvif .
|
rp_address | the RP address of the MFC to add.
|
bool send_add_mfc6 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const IPv6& source_address,
const IPv6& group_address,
const uint32_t& iif_vif_index,
const vector<uint8_t>& oiflist,
const vector<uint8_t>& oiflist_disable_wrongvif,
const uint32_t& max_vifs_oiflist,
const IPv6& rp_address,
const AddMfc6CB& cb
)
| send_add_mfc6 |
bool send_delete_mfc4 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const IPv4& source_address,
const IPv4& group_address,
const DeleteMfc4CB& cb
)
| send_delete_mfc4 |
bool send_delete_mfc6 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const IPv6& source_address,
const IPv6& group_address,
const DeleteMfc6CB& cb
)
| send_delete_mfc6 |
bool send_add_dataflow_monitor4 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const IPv4& source_address,
const IPv4& group_address,
const uint32_t& threshold_interval_sec,
const uint32_t& threshold_interval_usec,
const uint32_t& threshold_packets,
const uint32_t& threshold_bytes,
const bool& is_threshold_in_packets,
const bool& is_threshold_in_bytes,
const bool& is_geq_upcall,
const bool& is_leq_upcall,
const AddDataflowMonitor4CB& cb
)
| send_add_dataflow_monitor4 |
Send Xrl intended to:
Add/delete a dataflow monitor with the MFEA.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination.
|
xrl_sender_name | the XRL name of the originator of this XRL.
|
source_address | the source address of the dataflow to start/stop
monitoring.
|
group_address | the group address of the dataflow to start/stop
monitoring.
|
threshold_interval_sec | the number of seconds in the interval to
measure.
|
threshold_interval_usec | the number of microseconds in the
interval to measure.
|
threshold_packets | the threshold (in number of packets) to
compare against.
|
threshold_bytes | the threshold (in number of bytes) to compare
against.
|
is_threshold_in_packets | if true, threshold_packets is valid.
|
is_threshold_in_bytes | if true, threshold_bytes is valid.
|
is_geq_upcall | if true, the operation for comparison is ">=".
|
is_leq_upcall | if true, the operation for comparison is "<=".
|
bool send_add_dataflow_monitor6 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const IPv6& source_address,
const IPv6& group_address,
const uint32_t& threshold_interval_sec,
const uint32_t& threshold_interval_usec,
const uint32_t& threshold_packets,
const uint32_t& threshold_bytes,
const bool& is_threshold_in_packets,
const bool& is_threshold_in_bytes,
const bool& is_geq_upcall,
const bool& is_leq_upcall,
const AddDataflowMonitor6CB& cb
)
| send_add_dataflow_monitor6 |
bool send_delete_dataflow_monitor4 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const IPv4& source_address,
const IPv4& group_address,
const uint32_t& threshold_interval_sec,
const uint32_t& threshold_interval_usec,
const uint32_t& threshold_packets,
const uint32_t& threshold_bytes,
const bool& is_threshold_in_packets,
const bool& is_threshold_in_bytes,
const bool& is_geq_upcall,
const bool& is_leq_upcall,
const DeleteDataflowMonitor4CB& cb
)
| send_delete_dataflow_monitor4 |
bool send_delete_dataflow_monitor6 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const IPv6& source_address,
const IPv6& group_address,
const uint32_t& threshold_interval_sec,
const uint32_t& threshold_interval_usec,
const uint32_t& threshold_packets,
const uint32_t& threshold_bytes,
const bool& is_threshold_in_packets,
const bool& is_threshold_in_bytes,
const bool& is_geq_upcall,
const bool& is_leq_upcall,
const DeleteDataflowMonitor6CB& cb
)
| send_delete_dataflow_monitor6 |
typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteAllDataflowMonitor4CB | DeleteAllDataflowMonitor4CB |
bool send_delete_all_dataflow_monitor4 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const IPv4& source_address,
const IPv4& group_address,
const DeleteAllDataflowMonitor4CB& cb
)
| send_delete_all_dataflow_monitor4 |
typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteAllDataflowMonitor6CB | DeleteAllDataflowMonitor6CB |
bool send_delete_all_dataflow_monitor6 (
const char* dst_xrl_target_name,
const string& xrl_sender_name,
const IPv6& source_address,
const IPv6& group_address,
const DeleteAllDataflowMonitor6CB& cb
)
| send_delete_all_dataflow_monitor6 |
bool send_enable_vif (
const char* dst_xrl_target_name,
const string& vif_name,
const bool& enable,
const EnableVifCB& cb
)
| send_enable_vif |
Send Xrl intended to:
Enable/disable/start/stop a MFEA vif interface.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination.
|
vif_name | the name of the vif to enable/disable/start/stop.
|
enable | if true, then enable the vif, otherwise disable it.
|
bool send_start_vif (
const char* dst_xrl_target_name,
const string& vif_name,
const StartVifCB& cb
)
| send_start_vif |
bool send_stop_vif (
const char* dst_xrl_target_name,
const string& vif_name,
const StopVifCB& cb
)
| send_stop_vif |
bool send_enable_all_vifs (
const char* dst_xrl_target_name,
const bool& enable,
const EnableAllVifsCB& cb
)
| send_enable_all_vifs |
Send Xrl intended to:
Enable/disable/start/stop all MFEA vif interfaces.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination.
|
enable | if true, then enable the vifs, otherwise disable them.
|
bool send_start_all_vifs (
const char* dst_xrl_target_name,
const StartAllVifsCB& cb
)
| send_start_all_vifs |
bool send_stop_all_vifs (
const char* dst_xrl_target_name,
const StopAllVifsCB& cb
)
| send_stop_all_vifs |
bool send_enable_mfea (
const char* dst_xrl_target_name,
const bool& enable,
const EnableMfeaCB& cb
)
| send_enable_mfea |
Send Xrl intended to:
Enable/disable/start/stop the MFEA.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination.
|
enable | if true, then enable the MFEA, otherwise disable it.
|
bool send_start_mfea (
const char* dst_xrl_target_name,
const StartMfeaCB& cb
)
| send_start_mfea |
bool send_stop_mfea (
const char* dst_xrl_target_name,
const StopMfeaCB& cb
)
| send_stop_mfea |
bool send_enable_cli (
const char* dst_xrl_target_name,
const bool& enable,
const EnableCliCB& cb
)
| send_enable_cli |
Send Xrl intended to:
Enable/disable/start/stop the MFEA CLI access.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination.
|
enable | if true, then enable the MFEA CLI access, otherwise
disable it.
|
bool send_start_cli (
const char* dst_xrl_target_name,
const StartCliCB& cb
)
| send_start_cli |
bool send_stop_cli (
const char* dst_xrl_target_name,
const StopCliCB& cb
)
| send_stop_cli |
bool send_log_trace_all (
const char* dst_xrl_target_name,
const bool& enable,
const LogTraceAllCB& cb
)
| send_log_trace_all |
Send Xrl intended to:
Enable/disable the MFEA trace log for all operations.
Parameters:
dst_xrl_target_name | the Xrl target name of the destination.
|
enable | if true, then enable the trace log, otherwise disable it.
|
[protected]
Generated by: pavlin on kobe.xorp.net on Wed Jan 7 19:10:48 2009, using kdoc 2.0a54+XORP.