class FtiConfigEntryGet


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods

Protected Methods

Protected Members


Detailed Description

 FtiConfigEntryGet (FtiConfig& ftic)

FtiConfigEntryGet

 ~FtiConfigEntryGet ()

~FtiConfigEntryGet

[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  lookup_route_by_dest4 (const IPv4& dst, Fte4& fte)

lookup_route_by_dest4

[pure virtual]

Lookup a route by destination address.

Parameters:

dsthost address to resolve.
ftereturn-by-reference forwarding table entry.

Returns: bool on success, otherwise false.

bool  lookup_route_by_network4 (const IPv4Net& dst, Fte4& fte)

lookup_route_by_network4

[pure virtual]

Lookup route by network address.

Parameters:

dstnetwork address to resolve.
ftereturn-by-reference forwarding table entry.

Returns: true on success, otherwise false.

bool  lookup_route_by_dest6 (const IPv6& dst, Fte6& fte)

lookup_route_by_dest6

[pure virtual]

Lookup a route by destination address.

Parameters:

dsthost address to resolve.
ftereturn-by-reference forwarding table entry.

Returns: true on success, otherwise false.

bool  lookup_route_by_network6 (const IPv6Net& dst, Fte6& fte)

lookup_route_by_network6

[pure virtual]

Lookup route by network address.

Parameters:

dstnetwork address to resolve.
ftereturn-by-reference forwarding table entry.

Returns: true on success, otherwise false.

bool  parse_buffer_rtm (FteX& fte, const uint8_t *buf, size_t buf_bytes, FtiFibMsgSet filter)

parse_buffer_rtm

Parse information about routing entry 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:

ftethe Fte storage to store the parsed information.
bufthe buffer with the data to parse.
buf_bytesbuf_bytes the 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 (FteX& fte, const uint8_t *buf, size_t buf_bytes, bool is_nlm_get_only)

parse_buffer_nlm

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

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

Parameters:

ftethe Fte storage to store the parsed information.
bufthe buffer with the data to parse.
buf_bytesbuf_bytes the 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 $.