Change initial TCP send window size
I am working on a project to change the initial send window size under different scenarios. Looking at tcp capture I see that the sender always sends 2 packets. I am working on kernel 22.214.171.124.
I was digging in the kernel source code and added congestion control module. I thought the place to change it is the function .init. So I changed the snd_cwnd to 4 but still no luck, the sender sends 2 packets.
I am new to kernel development, any ideas how to control the send windows size?