⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

Module rip

Module rip 

Source
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§

DestinationKey
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