/routersim

A simple in-memory simulation of a network router.

Primary LanguageD

Purpose

A simulation of a router using memory-buffers to represent raw data streams.

The following protocols will be implemented:

  • IP - RFC791
  • UDP - RFC768
  • TCP - RFC793

The following protocol will be implemented for routers:

  • RIP - RFC1058

If time permits, application level protocols will be implemented as well.

  • FTP

Testing

Unit-tests for individual modules may be run by invoking the script, "unittest.sh". The unit tests present in each major module also serve as an example to developers on how each class is used.

Usage: $ ./unittest.sh