class XrlMfeaClientV0p1Client


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Types

Public Methods

Protected Members


Detailed Description

 XrlMfeaClientV0p1Client (XrlSender* s)

XrlMfeaClientV0p1Client

 ~XrlMfeaClientV0p1Client ()

~XrlMfeaClientV0p1Client

[virtual]

typedef XorpCallback1<void, const XrlError&>::RefPtr NewVifCB

NewVifCB

bool  send_new_vif ( const char* dst_xrl_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:

dst_xrl_target_namethe Xrl target name of the destination.
vif_namethe name of the new vif.
vif_indexthe index of the new vif.
typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteVifCB

DeleteVifCB

bool  send_delete_vif ( const char* dst_xrl_target_name, const string& vif_name, const DeleteVifCB& cb )

send_delete_vif

Send Xrl intended to:

Delete an existing vif.

Parameters:

dst_xrl_target_namethe Xrl target name of the destination.
vif_namethe name of the vif to delete.
typedef XorpCallback1<void, const XrlError&>::RefPtr AddVifAddr4CB

AddVifAddr4CB

bool  send_add_vif_addr4 ( const char* dst_xrl_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:

dst_xrl_target_namethe Xrl target name of the destination.
vif_namethe name of the vif.
addrthe unicast address to add.
subnetthe subnet address to add.
broadcastthe broadcast address (when applicable).
peerthe peer address (when applicable).
typedef XorpCallback1<void, const XrlError&>::RefPtr AddVifAddr6CB

AddVifAddr6CB

bool  send_add_vif_addr6 ( const char* dst_xrl_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* dst_xrl_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:

dst_xrl_target_namethe Xrl target name of the destination.
vif_namethe name of the vif.
addrthe unicast address to delete.
typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteVifAddr6CB

DeleteVifAddr6CB

bool  send_delete_vif_addr6 ( const char* dst_xrl_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* dst_xrl_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 uint32_t& mtu, const SetVifFlagsCB& cb )

send_set_vif_flags

Send Xrl intended to:

Set flags to a vif.

Parameters:

dst_xrl_target_namethe Xrl target name of the destination.
vif_namethe name of the vif.
is_pim_registertrue if this is a PIM Register vif.
is_p2ptrue if this is a point-to-point vif.
is_loopbacktrue if this is a loopback interface.
is_multicasttrue if the vif is multicast-capable.
is_broadcasttrue if the vif is broadcast-capable.
is_uptrue if the vif is UP and running.
mtuthe MTU of the vif.
typedef XorpCallback1<void, const XrlError&>::RefPtr SetAllVifsDoneCB

SetAllVifsDoneCB

bool  send_set_all_vifs_done ( const char* dst_xrl_target_name, const SetAllVifsDoneCB& cb )

send_set_all_vifs_done

Send Xrl intended to:

Complete all transactions with vif information.

Parameters:

dst_xrl_target_namethe Xrl target name of the destination.
typedef XorpCallback2<void, const XrlError&, const bool*>::RefPtr IsVifSetupCompletedCB

IsVifSetupCompletedCB

bool  send_is_vif_setup_completed ( const char* dst_xrl_target_name, const IsVifSetupCompletedCB& cb )

send_is_vif_setup_completed

Send Xrl intended to:

Test if the vif setup is completed.

Parameters:

dst_xrl_target_namethe Xrl target name of the destination.
typedef XorpCallback1<void, const XrlError&>::RefPtr RecvProtocolMessage4CB

RecvProtocolMessage4CB

bool  send_recv_protocol_message4 ( const char* dst_xrl_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:

dst_xrl_target_namethe Xrl target name of the destination.
xrl_sender_namethe XRL name of the originator of this XRL.
protocol_namethe name of the protocol that sends a message.
protocol_idthe ID of the protocol that sends a message (both sides must agree on the particular values).
vif_namethe name of the vif the message was received on.
vif_indexthe index of the vif the message was received on.
source_addressthe address of the sender.
dest_addressthe destination address.
ip_ttlthe TTL of the received IP packet. If it has a negative value, it should be ignored.
ip_tosthe TOS of the received IP packet. If it has a negative value, it should be ignored.
is_router_alertif true, the IP Router Alert option in the IP packet was set (when applicable).
protocol_messagethe protocol message.
typedef XorpCallback1<void, const XrlError&>::RefPtr RecvProtocolMessage6CB

RecvProtocolMessage6CB

bool  send_recv_protocol_message6 ( const char* dst_xrl_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* dst_xrl_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:

dst_xrl_target_namethe Xrl target name of the destination.
xrl_sender_namethe XRL name of the originator of this XRL.
protocol_namethe name of the protocol that sends a message.
protocol_idthe ID of the protocol that sends a message (both sides must agree on the particular values).
message_typethe type of the kernel signal message (TODO: integer for now: the particular types are well-known by both sides).
vif_namethe name of the vif the message was received on.
vif_indexthe index of the vif the message was received on.
source_addressthe address of the sender.
dest_addressthe destination address.
protocol_messagethe protocol message.
typedef XorpCallback1<void, const XrlError&>::RefPtr RecvKernelSignalMessage6CB

RecvKernelSignalMessage6CB

bool  send_recv_kernel_signal_message6 ( const char* dst_xrl_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* 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& 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:

dst_xrl_target_namethe Xrl target name of the destination.
xrl_sender_namethe XRL name of the originator of this XRL.
source_addressthe source address of the dataflow.
group_addressthe group address of the dataflow.
threshold_interval_secthe number of seconds in the interval requested for measurement.
threshold_interval_usecthe number of microseconds in the interval requested for measurement.
measured_interval_secthe number of seconds in the last measured interval that has triggered the signal.
measured_interval_usecthe number of microseconds in the last measured interval that has triggered the signal.
threshold_packetsthe threshold value to trigger a signal (in number of packets).
threshold_bytesthe threshold value to trigger a signal (in bytes).
measured_packetsthe number of packets measured within the measured interval.
measured_bytesthe number of bytes measured within the measured interval.
is_threshold_in_packetsif true, threshold_packets is valid.
is_threshold_in_bytesif true, threshold_bytes is valid.
is_geq_upcallif true, the operation for comparison is ">=".
is_leq_upcallif true, the operation for comparison is "<=".
typedef XorpCallback1<void, const XrlError&>::RefPtr RecvDataflowSignal6CB

RecvDataflowSignal6CB

bool  send_recv_dataflow_signal6 ( 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& 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]


Generated by: pavlin on possum.icir.org on Wed Mar 21 11:22:57 2007, using kdoc $.