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]
| 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]
| inline void  set_last_active (const TimeVal& t) | set_last_active | 
| inline const TimeVal&  last_active () | last_active | 
[const]
| 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]