The TCP CDG algorithm is ported from GNU/Linux 4.12.10.
- Install ns-2.35
- Copy the code in "tcp" directory to ns source tree
- Add an entry to
Makefile
andMakefile.in
:
OBJ_C = \
...
tcp/linux/src/tcp_cdg.o \
...
- Compile the source
- In the tcl script, enable TCP CDG by
set send_agent [new Agent/TCP/Linux]
$send_agent set timestamps_ true
$send_agent select_ca cdg
$send_agent set bugFix_ts_ 1