Network Simulator
Go to file
Jan Veen 7efc5caca7 Removed warnings
Modified coverage instructions
2015-10-26 11:39:29 +01:00
benchmark Modified target names 2015-08-04 12:17:23 +02:00
cmake Integrated code coverage tools 2015-10-08 14:33:46 +02:00
src Improved coverage 2015-10-26 11:33:13 +01:00
test Removed warnings 2015-10-26 11:39:29 +01:00
.gitignore Integrated code coverage tools 2015-10-08 14:33:46 +02:00
CMakeLists.txt Threadsafe copying of forwarding table in Switch 2015-10-21 20:08:29 +02:00
Doxyfile.in Fixed reference bug 2015-07-31 12:34:30 +02:00
LICENSE Initial commit 2015-05-18 21:47:09 +02:00
README.md Updated README 2015-07-30 11:09:44 +02:00
rt.txt Increased reference network size 2015-10-16 08:45:21 +02:00
todo.txt Improved coverage 2015-10-26 11:33:13 +01:00

README.md

netsi

Network simulation like in the early days

This project is a private experiment of a student in computer science. The aim is to get used to common protocols running in a modern computer network. There is no concrete aim or schedule that I follow, so updates may come irregularly.

Dependencies

  • CMake >= 2.8
  • C++11 compatible compiler
  • Doxygen
  • Google Test
  • Boost >= 1.22

Platforms

Linux (Tested on Arch Linux) Windows (Tested on 8.1, MSVC 2015)

Building on Linux

Make sure you fulfill all the needed dependencies with your package manager

mkdir build
cd build
cmake ..
make all
cd ..

Building on Windows

  • Download the Gtest zip and extract it to some location called

  • Open the file /msvc/gtest.sln in Visual Studio and compile it both in Debug and Release mode

  • Download and install the CMake binary

  • Download and install the Doxygen binary

  • Download the recest Boost library zip and extract it to

  • Run /bootstrap.bat

  • Open a terminal in the folder (Shift + right click) and launch (take care of the correct version)

    b2 toolset=msvc-12.0 variant=release link=shared threading=multi runtime-link=shared --build-type=complete --abbreviate-paths architecture=x86 address-model=32 stage -j2 b2 toolset=msvc-12.0 variant=debug link=shared threading=multi runtime-link=shared --build-type=complete --abbreviate-paths architecture=x86 address-model=32 stage -j2

  • Open CMake and set the netsi root folder

  • Define the variable GTEST_ROOT as filepath pointing to

  • Define the variable BOOST_INCLUDEDIR as filepath pointing to <boost_target>

  • Define the variable BOOST_LIBRARYDIR as filepath pointing to <boost_target>/stage/lib

  • Set CMAKE_CONFIGURATION_TYPES auf "Debug;Release"

  • Set CMAKE_INSTALL_PREFIX to the preferred installation location

  • Run CMake Configure

  • Run CMake Generate for your platform

  • Open the solution file in Visual Studio and compile

Documentation

There is a doxygen documentation that is automatically built when running the commands in "Building". Check out doc/html/index.html to browse the documentation after generation. Since this is a network simulator, every implementation of a protocol can be found when looking at the corresponding RFC.

Licensing

This project is licensed under the MIT license attached to this project.