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 ()

register_ftic

[virtual]

int  start ()

start

[pure virtual]

Start operation.

Returns: XORP_OK on success, otherwise XORP_ERROR.

int  stop ()

stop

[pure virtual]

Stop operation.

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, bool is_rtm_get_only)

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.
is_rtm_get_onlyif true, consider only the RTM_GET entries.

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 Thu Jul 8 23:48:26 2004, using kdoc $.