class FtiConfigTableGet


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods

Protected Methods

Protected Members


Detailed Description

 FtiConfigTableGet (FtiConfig& ftic)

FtiConfigTableGet

 ~FtiConfigTableGet ()

~FtiConfigTableGet

[virtual]

FtiConfig&  ftic ()

ftic

void  register_ftic_primary ()

register_ftic_primary

[virtual]

void  register_ftic_secondary ()

register_ftic_secondary

[virtual]

void  set_primary ()

set_primary

[virtual]

void  set_secondary ()

set_secondary

[virtual]

bool  is_primary ()

is_primary

[const virtual]

bool  is_secondary ()

is_secondary

[const virtual]

bool  is_running ()

is_running

[const virtual]

int  start (string& error_msg)

start

[pure virtual]

Start operation.

Parameters:

error_msgthe error message (if error).

Returns: XORP_OK on success, otherwise XORP_ERROR.

int  stop (string& error_msg)

stop

[pure virtual]

Stop operation.

Parameters:

error_msgthe error message (if error).

Returns: XORP_OK on success, otherwise XORP_ERROR.

bool  get_table4 (list<Fte4>& fte_list)

get_table4

[pure virtual]

Obtain the unicast forwarding table.

Parameters:

fte_listthe return-by-reference list with all entries in the unicast forwarding table.

Returns: true on success, otherwise false.

bool  get_table6 (list<Fte6>& fte_list)

get_table6

[pure virtual]

Obtain the unicast forwarding table.

Parameters:

fte_listthe return-by-reference list with all entries in the unicast forwarding table.

Returns: true on success, otherwise false.

bool  parse_buffer_rtm (int family, list<FteX>& fte_list, const uint8_t *buf, size_t buf_bytes, FtiFibMsgSet filter)

parse_buffer_rtm

Parse information about routing table information received from the underlying system.

The information to parse is in RTM format (e.g., obtained by routing sockets or by sysctl(3) mechanism).

Parameters:

familythe address family to consider only ((e.g., AF_INET or AF_INET6 for IPv4 and IPv6 respectively).
fte_listthe list with the Fte entries to store the result.
bufthe buffer with the data to parse.
buf_bytesthe size of the data in the buffer.
filterthe set of messages that caller is interested in.

Returns: true on success, otherwise false.

See also: FteX.

bool  parse_buffer_nlm (int family, list<FteX>& fte_list, const uint8_t* buf, size_t buf_bytes, bool is_nlm_get_only)

parse_buffer_nlm

Parse information about routing table information received from the underlying system.

The information to parse is in NETLINK format (e.g., obtained by netlink(7) sockets mechanism).

Parameters:

familythe address family to consider only ((e.g., AF_INET or AF_INET6 for IPv4 and IPv6 respectively).
fte_listthe list with the Fte entries to store the result.
bufthe buffer with the data to parse.
buf_bytesthe size of the data in the buffer.
is_nlm_get_onlyif true, consider only the entries obtained by RTM_GETROUTE.

Returns: true on success, otherwise false.

See also: FteX.

int  sock (int family)

sock

[protected]

int _s4

_s4

[protected]

int _s6

_s6

[protected]

bool _is_running

_is_running

[protected]


Generated by: pavlin on possum.icir.org on Wed Apr 13 21:53:05 2005, using kdoc $.