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

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

lookup_route4

[pure virtual]

Lookup a route.

Parameters:

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

Returns: bool on success, otherwise false.

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

lookup_entry4

[pure virtual]

Lookup entry.

Parameters:

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

Returns: true on success, otherwise false.

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

lookup_route6

[pure virtual]

Lookup a route.

Parameters:

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

Returns: true on success, otherwise false.

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

lookup_entry6

[pure virtual]

Lookup entry.

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

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

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