The ns-3 Network Simulator Project
ns-3 direct code execution: Add PCAP traces to dce-udp-perf.cc
Direct Code Execution (DCE) is a framework for ns-3 that provides facilities to execute, within ns-3, existing implementations of userspace and kernelspace network protocols or applications without source code changes. For example, instead of using ns-3’s implementation of a ping-like application, you can use the real ping application. You can also use the Linux networking stack in simulations.
dce-udp-perf.cc is a simple UDP example program in DCE. In this task, the student is expected to follow the steps given below:
- Refer to 'examples/tutorial/second.cc' to understand how to enable PCAP in ns-3 programs.
- Clone the github repository of ns-3 DCE.
- Refer to 'example/dce-udp-perf.cc' in ns-3 DCE
- Modify 'example/dce-udp-perf.cc' to enable PCAP support.
- Create a patch using 'git diff' command.
- Submit the patch for evaluation
Note: installation of ns-3 DCE is not needed to complete this task.
Task tags
Students who completed this task
Kr0n0s, SaiMyGuy, hax0kartik, howie