| XrlMfeaClientV0p1Client (XrlSender* s)
| XrlMfeaClientV0p1Client |
| ~XrlMfeaClientV0p1Client ()
| ~XrlMfeaClientV0p1Client |
[virtual]
| typedef XorpCallback1<void, const XrlError&>::RefPtr NewVifCB | NewVifCB |
| bool send_new_vif (
const char* target_name,
const string& vif_name,
const uint32_t& vif_index,
const NewVifCB& cb
)
| send_new_vif |
Send Xrl intended to:
Add a new vif.
Parameters:
| tgt_name | Xrl Target name |
| vif_name | the name of the new vif. |
| vif_index | the index of the new vif. |
| typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteVifCB | DeleteVifCB |
| bool send_delete_vif (
const char* target_name,
const string& vif_name,
const DeleteVifCB& cb
)
| send_delete_vif |
Send Xrl intended to:
Delete an existing vif.
Parameters:
| tgt_name | Xrl Target name |
| vif_name | the name of the vif to delete. |
| typedef XorpCallback1<void, const XrlError&>::RefPtr AddVifAddr4CB | AddVifAddr4CB |
| bool send_add_vif_addr4 (
const char* target_name,
const string& vif_name,
const IPv4& addr,
const IPv4Net& subnet,
const IPv4& broadcast,
const IPv4& peer,
const AddVifAddr4CB& cb
)
| send_add_vif_addr4 |
Send Xrl intended to:
Add an address to a vif.
Parameters:
| tgt_name | Xrl Target name |
| vif_name | the name of the vif. |
| addr | the unicast address to add. |
| subnet | the subnet address to add. |
| broadcast | the broadcast address (when applicable). |
| peer | the peer address (when applicable). |
| typedef XorpCallback1<void, const XrlError&>::RefPtr AddVifAddr6CB | AddVifAddr6CB |
| bool send_add_vif_addr6 (
const char* target_name,
const string& vif_name,
const IPv6& addr,
const IPv6Net& subnet,
const IPv6& broadcast,
const IPv6& peer,
const AddVifAddr6CB& cb
)
| send_add_vif_addr6 |
| typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteVifAddr4CB | DeleteVifAddr4CB |
| bool send_delete_vif_addr4 (
const char* target_name,
const string& vif_name,
const IPv4& addr,
const DeleteVifAddr4CB& cb
)
| send_delete_vif_addr4 |
Send Xrl intended to:
Delete an address from a vif.
Parameters:
| tgt_name | Xrl Target name |
| vif_name | the name of the vif. |
| addr | the unicast address to delete. |
| typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteVifAddr6CB | DeleteVifAddr6CB |
| bool send_delete_vif_addr6 (
const char* target_name,
const string& vif_name,
const IPv6& addr,
const DeleteVifAddr6CB& cb
)
| send_delete_vif_addr6 |
| typedef XorpCallback1<void, const XrlError&>::RefPtr SetVifFlagsCB | SetVifFlagsCB |
| bool send_set_vif_flags (
const char* target_name,
const string& vif_name,
const bool& is_pim_register,
const bool& is_p2p,
const bool& is_loopback,
const bool& is_multicast,
const bool& is_broadcast,
const bool& is_up,
const SetVifFlagsCB& cb
)
| send_set_vif_flags |
Send Xrl intended to:
Set flags to a vif.
Parameters:
| tgt_name | Xrl Target name |
| vif_name | the name of the vif. |
| is_pim_register | true if this is a PIM Register vif. |
| is_p2p | true if this is a point-to-point vif. |
| is_loopback | true if this is a loopback interface. |
| is_multicast | true if the vif is multicast-capable. |
| is_broadcast | true if the vif is broadcast-capable. |
| is_up | true if the vif is UP and running. |
| typedef XorpCallback1<void, const XrlError&>::RefPtr SetAllVifsDoneCB | SetAllVifsDoneCB |
| bool send_set_all_vifs_done (
const char* target_name,
const SetAllVifsDoneCB& cb
)
| send_set_all_vifs_done |
Send Xrl intended to:
Complete all transactions with vif information.
Parameters:
| tgt_name | Xrl Target name |
| typedef XorpCallback2<void, const XrlError&, const bool*>::RefPtr IsVifSetupCompletedCB | IsVifSetupCompletedCB |
| bool send_is_vif_setup_completed (
const char* target_name,
const IsVifSetupCompletedCB& cb
)
| send_is_vif_setup_completed |
Send Xrl intended to:
Test if the vif setup is completed.
Parameters:
| tgt_name | Xrl Target name |
| typedef XorpCallback1<void, const XrlError&>::RefPtr RecvProtocolMessage4CB | RecvProtocolMessage4CB |
| bool send_recv_protocol_message4 (
const char* target_name,
const string& xrl_sender_name,
const string& protocol_name,
const uint32_t& protocol_id,
const string& vif_name,
const uint32_t& vif_index,
const IPv4& source_address,
const IPv4& dest_address,
const int32_t& ip_ttl,
const int32_t& ip_tos,
const bool& is_router_alert,
const vector<uint8_t>& protocol_message,
const RecvProtocolMessage4CB& cb
)
| send_recv_protocol_message4 |
Send Xrl intended to:
Receive a protocol message from the MFEA.
Parameters:
| tgt_name | Xrl Target name |
| xrl_sender_name | the XRL name of the originator of this XRL. |
| protocol_name | the name of the protocol that sends a message. |
| protocol_id | the ID of the protocol that sends a message (both sides must agree on the particular values). |
| vif_name | the name of the vif the message was received on. |
| vif_index | the index of the vif the message was received on. |
| source_address | the address of the sender. |
| dest_address | the destination address. |
| ip_ttl | the TTL of the received IP packet. If it has a negative value, it should be ignored. |
| ip_tos | the TOS of the received IP packet. If it has a negative value, it should be ignored. |
| is_router_alert | if true, the IP Router Alert option in the IP packet was set (when applicable). |
| protocol_message | the protocol message. |
| typedef XorpCallback1<void, const XrlError&>::RefPtr RecvProtocolMessage6CB | RecvProtocolMessage6CB |
| bool send_recv_protocol_message6 (
const char* target_name,
const string& xrl_sender_name,
const string& protocol_name,
const uint32_t& protocol_id,
const string& vif_name,
const uint32_t& vif_index,
const IPv6& source_address,
const IPv6& dest_address,
const int32_t& ip_ttl,
const int32_t& ip_tos,
const bool& is_router_alert,
const vector<uint8_t>& protocol_message,
const RecvProtocolMessage6CB& cb
)
| send_recv_protocol_message6 |
| typedef XorpCallback1<void, const XrlError&>::RefPtr RecvKernelSignalMessage4CB | RecvKernelSignalMessage4CB |
| bool send_recv_kernel_signal_message4 (
const char* target_name,
const string& xrl_sender_name,
const string& protocol_name,
const uint32_t& protocol_id,
const uint32_t& message_type,
const string& vif_name,
const uint32_t& vif_index,
const IPv4& source_address,
const IPv4& dest_address,
const vector<uint8_t>& protocol_message,
const RecvKernelSignalMessage4CB& cb
)
| send_recv_kernel_signal_message4 |
Send Xrl intended to:
Receive a kernel signal message from the MFEA.
Parameters:
| tgt_name | Xrl Target name |
| xrl_sender_name | the XRL name of the originator of this XRL. |
| protocol_name | the name of the protocol that sends a message. |
| protocol_id | the ID of the protocol that sends a message (both sides must agree on the particular values). |
| message_type | the type of the kernel signal message (TODO: integer for now: the particular types are well-known by both sides). |
| vif_name | the name of the vif the message was received on. |
| vif_index | the index of the vif the message was received on. |
| source_address | the address of the sender. |
| dest_address | the destination address. |
| protocol_message | the protocol message. |
| typedef XorpCallback1<void, const XrlError&>::RefPtr RecvKernelSignalMessage6CB | RecvKernelSignalMessage6CB |
| bool send_recv_kernel_signal_message6 (
const char* target_name,
const string& xrl_sender_name,
const string& protocol_name,
const uint32_t& protocol_id,
const uint32_t& message_type,
const string& vif_name,
const uint32_t& vif_index,
const IPv6& source_address,
const IPv6& dest_address,
const vector<uint8_t>& protocol_message,
const RecvKernelSignalMessage6CB& cb
)
| send_recv_kernel_signal_message6 |
| typedef XorpCallback1<void, const XrlError&>::RefPtr RecvDataflowSignal4CB | RecvDataflowSignal4CB |
| bool send_recv_dataflow_signal4 (
const char* 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& measured_interval_sec,
const uint32_t& measured_interval_usec,
const uint32_t& threshold_packets,
const uint32_t& threshold_bytes,
const uint32_t& measured_packets,
const uint32_t& measured_bytes,
const bool& is_threshold_in_packets,
const bool& is_threshold_in_bytes,
const bool& is_geq_upcall,
const bool& is_leq_upcall,
const RecvDataflowSignal4CB& cb
)
| send_recv_dataflow_signal4 |
Send Xrl intended to:
A signal that a dataflow-related pre-condition is true.
Parameters:
| tgt_name | Xrl Target name |
| xrl_sender_name | the XRL name of the originator of this XRL. |
| source_address | the source address of the dataflow. |
| group_address | the group address of the dataflow. |
| threshold_interval_sec | the number of seconds in the interval requested for measurement. |
| threshold_interval_usec | the number of microseconds in the interval requested for measurement. |
| measured_interval_sec | the number of seconds in the last measured interval that has triggered the signal. |
| measured_interval_usec | the number of microseconds in the last measured interval that has triggered the signal. |
| threshold_packets | the threshold value to trigger a signal (in number of packets). |
| threshold_bytes | the threshold value to trigger a signal (in bytes). |
| measured_packets | the number of packets measured within the measured interval. |
| measured_bytes | the number of bytes measured within the measured interval. |
| 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 "<=". |
| typedef XorpCallback1<void, const XrlError&>::RefPtr RecvDataflowSignal6CB | RecvDataflowSignal6CB |
| bool send_recv_dataflow_signal6 (
const char* 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& measured_interval_sec,
const uint32_t& measured_interval_usec,
const uint32_t& threshold_packets,
const uint32_t& threshold_bytes,
const uint32_t& measured_packets,
const uint32_t& measured_bytes,
const bool& is_threshold_in_packets,
const bool& is_threshold_in_bytes,
const bool& is_geq_upcall,
const bool& is_leq_upcall,
const RecvDataflowSignal6CB& cb
)
| send_recv_dataflow_signal6 |
| XrlSender* _sender | _sender |
[protected]