Public Types
Public Methods
Protected Members
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 Port<A> RipPort | RipPort |
Peer (RipPort& p, const Addr& addr)
| Peer |
inline const Addr& address ()
| address |
[const]
Get address of Peer.
Get counters associated with Peer.
[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.
[protected]
[protected]
[protected]
[protected]
Generated by: pavlin on possum.icir.org on Mon Jun 9 13:24:02 2003, using kdoc 2.0a54+XORP. |