/ns2-cdg

Porting TCP CDG to ns-2 from Linux

Primary LanguageC

TCP CDG algorithm in ns-2

The TCP CDG algorithm is ported from GNU/Linux 4.12.10.

How to use it

  1. Install ns-2.35
  2. Copy the code in "tcp" directory to ns source tree
  3. Add an entry to Makefile and Makefile.in:
OBJ_C = \
...
tcp/linux/src/tcp_cdg.o \
...
  1. Compile the source
  2. 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