class Peer

RIP Peer. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Types

Public Methods

Protected Members


Detailed Description

A RIP peer is a host that sent RIP packets, originating routes, to the local RIP Port (Port<A>) that have originated routes. Most of a Peer's work is conducted by the Port associated with the Peer instance. The Peer class just acts as a container of information about the Peer host, such as the number of packets sent, the time of last update, etc.

typedef A Addr

Addr

typedef Port<A> RipPort

RipPort

 Peer (RipPort& p, const Addr& addr)

Peer

inline const Addr&  address ()

address

[const]

Get address of Peer.

inline PeerCounters&  counters ()

counters

Get counters associated with Peer.

inline const PeerCounters&  counters ()

counters

[const]

Get counters associated with Peer.

inline RipPort&  port ()

port

Get port associated with Peer.

inline const RipPort&  port ()

port

[const]

Get port associatd with Peer.

inline void  set_last_active (const TimeVal& t)

set_last_active

Set last active time.

inline const TimeVal&  last_active ()

last_active

[const]

Get last active time.

uint32_t  expiry_secs ()

expiry_secs

[const]

Reimplemented from RouteEntryOrigin.

uint32_t  deletion_secs ()

deletion_secs

[const]

Reimplemented from RouteEntryOrigin.

RipPort& _port

_port

[protected]

Addr _addr

_addr

[protected]

PeerCounters _counters

_counters

[protected]

TimeVal _last_active

_last_active

[protected]


Generated by: pavlin on possum.icir.org on Thu Mar 9 04:43:53 2006, using kdoc $.