[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to change congestion window?
Hi all,
I want to implement "new TCP congestion control algorithm"
and "router mechanism" with ns.
I'm going to simulate as follows.
s1 s3
\ /
\ /
r1 ------ r2
/ \
/ \
s2 s4
s1->r1->r2->s3 : TCP flow
s2->r1->r2->s4 : UDP flow
I want to read ACK(s3->r2->r1->s1) at r1(router),
and change "acknowledgement field" in TCP header in the ACK packet.
(Of course, I know it's impossible in practice.)
Ultimately, I change sender's congestion window to calculated value at r1.
How should I do?
Sincerely,
jhkim