Workshop on ns-3

Research Article

Getting Kodo: Network Coding for the ns-3 Simulator

  • @INPROCEEDINGS{10.1145/2915371.2915389,
        author={N\^{e}stor J. Hern\^{a}ndez M. and Morten V. Pedersen and P\^{e}ter Vingelmann and Janus Heide and Daniel E. Lucani and Frank H. P. Fitzek},
        title={Getting Kodo: Network Coding for the ns-3 Simulator},
        proceedings={Workshop on ns-3},
        keywords={Network Coding C++ ns-3 simulator},
  • Néstor J. Hernández M.
    Morten V. Pedersen
    Péter Vingelmann
    Janus Heide
    Daniel E. Lucani
    Frank H. P. Fitzek
    Year: 2016
    Getting Kodo: Network Coding for the ns-3 Simulator
    DOI: 10.1145/2915371.2915389
Néstor J. Hernández M.1, Morten V. Pedersen2, Péter Vingelmann3, Janus Heide2, Daniel E. Lucani4, Frank H. P. Fitzek5
  • 1: Steinwurf ApS, Aalborg University, Aalborg, Denmark
  • 2: Steinwurf ApS, Aalborg, Denmark
  • 3: Steinwurf ApS, Dunaújváros, Hungary
  • 4: Aalborg University, Aalborg, Denmark
  • 5: Techn. Universität Dresden, Dresden, Germany


Network Coding (NC) has been shown to improve current and upcoming communication systems in terms of throughput, energy consumption and delay reduction. However, today's evaluations on network coding solutions rely on homegrown simulators that might not accurately model realistic systems. In this work, we present for the first time the steps to use Kodo, a C++11 network coding library into the ns-3 simulator and show its potential with basic examples. Our purpose is to allow ns-3 users to use a flexible and reliable set of network coding functionalities together with the technologies simulated in ns-3. Therefore, in this paper we (i) show how to set up the Kodo library with ns-3, (ii) present the underlying design of the library examples, and (iii) verify the performance of key examples with known theoretical results.