Expand description
RIP v2 routing daemon (RFC 2453)
Distance-vector routing protocol with:
- Split horizon with poisoned reverse
- Triggered updates
- Route timeout and garbage collection
- Multicast group 224.0.0.9, port 520
Structs§
- Destination
Key - Destination key for route table lookups
- RipDaemon
- RIP v2 routing daemon
- RipEntry
- RIP v2 route entry (wire format)
- RipMessage
- RIP v2 message
- RipRoute
- Internal route entry stored in the daemon’s table
Enums§
- RipCommand
- RIP command type
Constants§
- RIP_
GARBAGE_ COLLECT - Garbage collection timer in ticks (after timeout)
- RIP_
INFINITY - RIP infinity metric (unreachable)
- RIP_
MAX_ ENTRIES - Maximum entries per RIP message
- RIP_
MULTICAST - RIP v2 multicast address (224.0.0.9)
- RIP_
PORT - RIP v2 default port
- RIP_
TIMEOUT - Route timeout in ticks (no update received)
- RIP_
UPDATE_ INTERVAL - Default advertisement interval in ticks
Functions§
- deserialize_
message - Deserialize a RIP message from wire format bytes
- serialize_
message - Serialize a RIP message to wire format bytes