The routing skeleton below gives a basic description of how the COMPASS framework can be hooked to add a new routing protocol. A real world example can be found by examining the DSR source.