class XrlOspfv2V0p1Client


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Types

Public Methods

Protected Members


Detailed Description

 XrlOspfv2V0p1Client (XrlSender* s)

XrlOspfv2V0p1Client

 ~XrlOspfv2V0p1Client ()

~XrlOspfv2V0p1Client

[virtual]

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

SetRouterIdCB

bool  send_set_router_id ( const char* target_name, const IPv4& id, const SetRouterIdCB& cb )

send_set_router_id

Send Xrl intended to:

Set router id

Parameters:

tgt_nameXrl Target name
typedef XorpCallback1<void, const XrlError&>::RefPtr SetIpRouterAlertCB

SetIpRouterAlertCB

bool  send_set_ip_router_alert ( const char* target_name, const bool& ip_router_alert, const SetIpRouterAlertCB& cb )

send_set_ip_router_alert

Send Xrl intended to:

Set the router alert in the IP options.

Parameters:

tgt_nameXrl Target name
typedef XorpCallback1<void, const XrlError&>::RefPtr CreateAreaRouterCB

CreateAreaRouterCB

bool  send_create_area_router ( const char* target_name, const IPv4& area, const string& type, const CreateAreaRouterCB& cb )

send_create_area_router

Send Xrl intended to:

Create an area.

Parameters:

tgt_nameXrl Target name
areaid of the area
typeof area "border", "stub", "nssa"
typedef XorpCallback1<void, const XrlError&>::RefPtr ChangeAreaRouterTypeCB

ChangeAreaRouterTypeCB

bool  send_change_area_router_type ( const char* target_name, const IPv4& area, const string& type, const ChangeAreaRouterTypeCB& cb )

send_change_area_router_type

Send Xrl intended to:

Change area type.

Parameters:

tgt_nameXrl Target name
areaid of the area
typeof area "border", "stub", "nssa"
typedef XorpCallback1<void, const XrlError&>::RefPtr DestroyAreaRouterCB

DestroyAreaRouterCB

bool  send_destroy_area_router ( const char* target_name, const IPv4& area, const DestroyAreaRouterCB& cb )

send_destroy_area_router

Send Xrl intended to:

Destroy area.

Parameters:

tgt_nameXrl Target name
areaid of the area
typedef XorpCallback1<void, const XrlError&>::RefPtr CreatePeerCB

CreatePeerCB

bool  send_create_peer ( const char* target_name, const string& ifname, const string& vifname, const IPv4& addr, const uint32_t& prefix_len, const uint32_t& mtu, const string& type, const IPv4& area, const CreatePeerCB& cb )

send_create_peer

Send Xrl intended to:

Create a binding to an interface.

Parameters:

tgt_nameXrl Target name
ifnamethe interface that owns vif that has address.
vifnamevirtual interface owning address.
addrthe address to be added.
prefix_lenthe prefix length XXX temporary.
mtumaximum transmission unit XXX temporary.
typeof link "p2p", "broadcast", "nbma", "p2m", "vlink"
typedef XorpCallback1<void, const XrlError&>::RefPtr DeletePeerCB

DeletePeerCB

bool  send_delete_peer ( const char* target_name, const string& ifname, const string& vifname, const DeletePeerCB& cb )

send_delete_peer

Send Xrl intended to:

Delete peer.

Parameters:

tgt_nameXrl Target name
typedef XorpCallback1<void, const XrlError&>::RefPtr SetPeerStateCB

SetPeerStateCB

bool  send_set_peer_state ( const char* target_name, const string& ifname, const string& vifname, const bool& enable, const SetPeerStateCB& cb )

send_set_peer_state

Send Xrl intended to:

Set the peer state up or down.

Parameters:

tgt_nameXrl Target name
typedef XorpCallback1<void, const XrlError&>::RefPtr AddNeighbourCB

AddNeighbourCB

bool  send_add_neighbour ( const char* target_name, const string& ifname, const string& vifname, const IPv4& area, const IPv4& neighbour_address, const IPv4& neighbour_id, const AddNeighbourCB& cb )

send_add_neighbour

Send Xrl intended to:

Add a neighbour to the peer.

Parameters:

tgt_nameXrl Target name
typedef XorpCallback1<void, const XrlError&>::RefPtr RemoveNeighbourCB

RemoveNeighbourCB

bool  send_remove_neighbour ( const char* target_name, const string& ifname, const string& vifname, const IPv4& area, const IPv4& neighbour_address, const IPv4& neighbour_id, const RemoveNeighbourCB& cb )

send_remove_neighbour

Send Xrl intended to:

Remove a neighbour from the peer.

Parameters:

tgt_nameXrl Target name
typedef XorpCallback1<void, const XrlError&>::RefPtr CreateVirtualLinkCB

CreateVirtualLinkCB

bool  send_create_virtual_link ( const char* target_name, const IPv4& neighbour_id, const IPv4& area, const CreateVirtualLinkCB& cb )

send_create_virtual_link

Send Xrl intended to:

Create a virtual link.

Parameters:

tgt_nameXrl Target name
neighbour_idthe router ID of the other end of the link.
areain which an attempt has been made to configure a virtual link it has to be the backbone. Its just being passed in so it can be checked by the protocol.
typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteVirtualLinkCB

DeleteVirtualLinkCB

bool  send_delete_virtual_link ( const char* target_name, const IPv4& neighbour_id, const DeleteVirtualLinkCB& cb )

send_delete_virtual_link

Send Xrl intended to:

Delete virtual link

Parameters:

tgt_nameXrl Target name
neighbour_idthe router ID of the other end of the link.
typedef XorpCallback1<void, const XrlError&>::RefPtr TransitAreaVirtualLinkCB

TransitAreaVirtualLinkCB

bool  send_transit_area_virtual_link ( const char* target_name, const IPv4& neighbour_id, const IPv4& transit_area, const TransitAreaVirtualLinkCB& cb )

send_transit_area_virtual_link

Send Xrl intended to:

The area through which the virtual link transits.

Parameters:

tgt_nameXrl Target name
neighbour_idthe router ID of the other end of the link.
transit_areathat the virtual link transits.
typedef XorpCallback1<void, const XrlError&>::RefPtr SetInterfaceCostCB

SetInterfaceCostCB

bool  send_set_interface_cost ( const char* target_name, const string& ifname, const string& vifname, const IPv4& area, const uint32_t& cost, const SetInterfaceCostCB& cb )

send_set_interface_cost

Send Xrl intended to:

The edge cost of this interface.

Parameters:

tgt_nameXrl Target name
typedef XorpCallback1<void, const XrlError&>::RefPtr SetRetransmitIntervalCB

SetRetransmitIntervalCB

bool  send_set_retransmit_interval ( const char* target_name, const string& ifname, const string& vifname, const IPv4& area, const uint32_t& interval, const SetRetransmitIntervalCB& cb )

send_set_retransmit_interval

Send Xrl intended to:

RxmtInterval The number of seconds between LSA retransmissions, for adjacencies belonging to this interface. Also used when retransmitting Database Description and Link State Request Packets. This should be well over the expected round-trip delay between any two routers on the attached network. The setting of this value should be conservative or needless retransmissions will result. Sample value for a local area network: 5 seconds.

Parameters:

tgt_nameXrl Target name
typedef XorpCallback1<void, const XrlError&>::RefPtr SetInftransdelayCB

SetInftransdelayCB

bool  send_set_inftransdelay ( const char* target_name, const string& ifname, const string& vifname, const IPv4& area, const uint32_t& delay, const SetInftransdelayCB& cb )

send_set_inftransdelay

Send Xrl intended to:

The estimated number of seconds it takes to transmit a Link State Update Packet over this interface. LSAs contained in the Link State Update packet will have their age incremented by this amount before transmission. This value should take into account transmission and propagation delays; it must be greater than zero.

Parameters:

tgt_nameXrl Target name
typedef XorpCallback1<void, const XrlError&>::RefPtr SetRouterPriorityCB

SetRouterPriorityCB

bool  send_set_router_priority ( const char* target_name, const string& ifname, const string& vifname, const IPv4& area, const uint32_t& priority, const SetRouterPriorityCB& cb )

send_set_router_priority

Send Xrl intended to:

Used in the designated router election.

Parameters:

tgt_nameXrl Target name
typedef XorpCallback1<void, const XrlError&>::RefPtr SetHelloIntervalCB

SetHelloIntervalCB

bool  send_set_hello_interval ( const char* target_name, const string& ifname, const string& vifname, const IPv4& area, const uint32_t& interval, const SetHelloIntervalCB& cb )

send_set_hello_interval

Send Xrl intended to:

The interval between hello messages.

Parameters:

tgt_nameXrl Target name
typedef XorpCallback1<void, const XrlError&>::RefPtr SetRouterDeadIntervalCB

SetRouterDeadIntervalCB

bool  send_set_router_dead_interval ( const char* target_name, const string& ifname, const string& vifname, const IPv4& area, const uint32_t& interval, const SetRouterDeadIntervalCB& cb )

send_set_router_dead_interval

Send Xrl intended to:

The period to wait before considering a router dead.

Parameters:

tgt_nameXrl Target name
typedef XorpCallback1<void, const XrlError&>::RefPtr SetSimpleAuthenticationKeyCB

SetSimpleAuthenticationKeyCB

bool  send_set_simple_authentication_key ( const char* target_name, const string& ifname, const string& vifname, const IPv4& area, const string& password, const SetSimpleAuthenticationKeyCB& cb )

send_set_simple_authentication_key

Send Xrl intended to:

Set simple password authentication key.

Parameters:

tgt_nameXrl Target name
ifnamethe interface name.
vifnamethe vif name.
areathe area ID.
passwordthe authentication password.
typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteSimpleAuthenticationKeyCB

DeleteSimpleAuthenticationKeyCB

bool  send_delete_simple_authentication_key ( const char* target_name, const string& ifname, const string& vifname, const IPv4& area, const DeleteSimpleAuthenticationKeyCB& cb )

send_delete_simple_authentication_key

Send Xrl intended to:

Delete simple password authentication key.

Parameters:

tgt_nameXrl Target name
ifnamethe interface name.
vifnamethe vif name.
areathe area ID.
typedef XorpCallback1<void, const XrlError&>::RefPtr SetMd5AuthenticationKeyCB

SetMd5AuthenticationKeyCB

bool  send_set_md5_authentication_key ( const char* target_name, const string& ifname, const string& vifname, const IPv4& area, const uint32_t& key_id, const string& password, const string& start_time, const string& end_time, const SetMd5AuthenticationKeyCB& cb )

send_set_md5_authentication_key

Send Xrl intended to:

Set MD5 authentication key.

Parameters:

tgt_nameXrl Target name
ifnamethe interface name.
vifnamethe vif name.
areathe area ID.
key_idthe key ID (must be an integer in the interval [0, 255]).
passwordthe authentication password.
start_timethe authentication start time (YYYY-MM-DD.HH:MM).
end_timethe authentication end time (YYYY-MM-DD.HH:MM).
typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteMd5AuthenticationKeyCB

DeleteMd5AuthenticationKeyCB

bool  send_delete_md5_authentication_key ( const char* target_name, const string& ifname, const string& vifname, const IPv4& area, const uint32_t& key_id, const DeleteMd5AuthenticationKeyCB& cb )

send_delete_md5_authentication_key

Send Xrl intended to:

Delete MD5 authentication key.

Parameters:

tgt_nameXrl Target name
ifnamethe interface name.
vifnamethe vif name.
areathe area ID.
key_idthe key ID (must be an integer in the interval [0, 255]).
typedef XorpCallback1<void, const XrlError&>::RefPtr SetPassiveCB

SetPassiveCB

bool  send_set_passive ( const char* target_name, const string& ifname, const string& vifname, const IPv4& area, const bool& passive, const SetPassiveCB& cb )

send_set_passive

Send Xrl intended to:

Toggle the passive status of an interface.

Parameters:

tgt_nameXrl Target name
typedef XorpCallback1<void, const XrlError&>::RefPtr OriginateDefaultRouteCB

OriginateDefaultRouteCB

bool  send_originate_default_route ( const char* target_name, const IPv4& area, const bool& enable, const OriginateDefaultRouteCB& cb )

send_originate_default_route

Send Xrl intended to:

If this is a "stub" or "nssa" area toggle the sending of a default route.

Parameters:

tgt_nameXrl Target name
typedef XorpCallback1<void, const XrlError&>::RefPtr StubDefaultCostCB

StubDefaultCostCB

bool  send_stub_default_cost ( const char* target_name, const IPv4& area, const uint32_t& cost, const StubDefaultCostCB& cb )

send_stub_default_cost

Send Xrl intended to:

Set the StubDefaultCost, the default cost sent in a default route in a "stub" or "nssa" area.

Parameters:

tgt_nameXrl Target name
typedef XorpCallback1<void, const XrlError&>::RefPtr SummariesCB

SummariesCB

bool  send_summaries ( const char* target_name, const IPv4& area, const bool& enable, const SummariesCB& cb )

send_summaries

Send Xrl intended to:

Toggle the sending of summaries into "stub" or "nssa" areas.

Parameters:

tgt_nameXrl Target name
typedef XorpCallback1<void, const XrlError&>::RefPtr AreaRangeAddCB

AreaRangeAddCB

bool  send_area_range_add ( const char* target_name, const IPv4& area, const IPv4Net& net, const bool& advertise, const AreaRangeAddCB& cb )

send_area_range_add

Send Xrl intended to:

Add area range.

Parameters:

tgt_nameXrl Target name
typedef XorpCallback1<void, const XrlError&>::RefPtr AreaRangeDeleteCB

AreaRangeDeleteCB

bool  send_area_range_delete ( const char* target_name, const IPv4& area, const IPv4Net& net, const AreaRangeDeleteCB& cb )

send_area_range_delete

Send Xrl intended to:

Delete area range.

Parameters:

tgt_nameXrl Target name
typedef XorpCallback1<void, const XrlError&>::RefPtr AreaRangeChangeStateCB

AreaRangeChangeStateCB

bool  send_area_range_change_state ( const char* target_name, const IPv4& area, const IPv4Net& net, const bool& advertise, const AreaRangeChangeStateCB& cb )

send_area_range_change_state

Send Xrl intended to:

Change the advertised state of this area.

Parameters:

tgt_nameXrl Target name
typedef XorpCallback1<void, const XrlError&>::RefPtr TraceCB

TraceCB

bool  send_trace ( const char* target_name, const string& tvar, const bool& enable, const TraceCB& cb )

send_trace

Send Xrl intended to:

Enable/Disable tracing.

Parameters:

tgt_nameXrl Target name
tvartrace variable.
enableset to true to enable false to disable.
typedef XorpCallback5<void, const XrlError&, const bool*, const bool*, const bool*, const vector<uint8_t>*>::RefPtr GetLsaCB

GetLsaCB

bool  send_get_lsa ( const char* target_name, const IPv4& area, const uint32_t& index, const GetLsaCB& cb )

send_get_lsa

Send Xrl intended to:

Get a single lsa from an area. A stateless mechanism to get LSAs. The client of this interface should start from zero and continue to request LSAs (incrementing index) until toohigh becomes true.

Parameters:

tgt_nameXrl Target name
areadatabase that is being searched.
indexinto database starting from 0.
typedef XorpCallback2<void, const XrlError&, const XrlAtomList*>::RefPtr GetAreaListCB

GetAreaListCB

bool  send_get_area_list ( const char* target_name, const GetAreaListCB& cb )

send_get_area_list

Send Xrl intended to:

Get a list of all the configured areas.

Parameters:

tgt_nameXrl Target name
typedef XorpCallback2<void, const XrlError&, const XrlAtomList*>::RefPtr GetNeighbourListCB

GetNeighbourListCB

bool  send_get_neighbour_list ( const char* target_name, const GetNeighbourListCB& cb )

send_get_neighbour_list

Send Xrl intended to:

Get the list of neighbours.

Parameters:

tgt_nameXrl Target name
typedef XorpCallback13<void, const XrlError&, const string*, const string*, const string*, const IPv4*, const uint32_t*, const uint32_t*, const IPv4*, const uint32_t*, const IPv4*, const IPv4*, const uint32_t*, const uint32_t*>::RefPtr GetNeighbourInfoCB

GetNeighbourInfoCB

bool  send_get_neighbour_info ( const char* target_name, const uint32_t& nid, const GetNeighbourInfoCB& cb )

send_get_neighbour_info

Send Xrl intended to:

Get information on a neighbour.

Parameters:

tgt_nameXrl Target name
nidneighbour ID returned by the get_neighbour_list.
XrlSender* _sender

_sender

[protected]


Generated by: pavlin on possum.icir.org on Thu Mar 9 04:42:40 2006, using kdoc $.