I would like to know if someone could tell me in the tcp.c file which function/line of code that enables the congestion avoidance algorithm.
I believe that this function/line of code enables the congestion avoidance algorithm, specifically the tcp_reno.
Code:
tcp_register_congestion_control(&tcp_reno);
I ask because I want to enable the tcp_vegas in the Kernel. I assume if that I put tcp_vegas such like this:
Code:
tcp_register_congestion_control(&tcp_vegas);
I would enable tcp_vegas congestion avoidance algorithm in the tcp_vegas.c file, right?
The tcp.c file I am referring to is the one that you can download from the Kernel website. I have attached it as well