xorp

PeerRoutes< A > Class Template Reference

RIP Peer Routes. More...

#include <peer.hh>

Inheritance diagram for PeerRoutes< A >:
RouteEntryOrigin< A > NONCOPYABLE

List of all members.

Public Member Functions

 PeerRoutes (Peer< A > &peer)

Private Member Functions

uint32_t expiry_secs () const
 Retrieve number of seconds before routes associated with this RouteEntryOrigin should be marked as expired.
uint32_t deletion_secs () const
 Retrieve number of seconds before route should be deleted after expiry.

Private Attributes

Peer< A > & _peer

Detailed Description

template<typename A>
class PeerRoutes< A >

RIP Peer Routes.

A class for storing the original routes received from a Peer host. Those routes are used to push them whenever the routing policy is modified.


Member Function Documentation

template<typename A >
uint32_t PeerRoutes< A >::expiry_secs ( ) const [private, virtual]

Retrieve number of seconds before routes associated with this RouteEntryOrigin should be marked as expired.

A return value of 0 indicates routes are of infinite duration, eg static routes.

Implements RouteEntryOrigin< A >.


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations