This work is done as a part of Google Summer of Code 2020.
This change adds the libroute library, which intends to provide APIs for management of routes. This also includes the illustration of the API by its basic usage by the route utility. There are tests for the route utility in /src/sbin/route/tests. The tests currently tests the following basic functionalities.
- Addition of route
- Change of route
- Deletion of route
These tests are our current method for the validation of library functionalities. We plan to add more tests to have a more rigorous testing. The planned tests include tests for Flushing the routes and also for the various other arguments accepted by the route utility.