Set SO_TCP_NODELAY (disabling the Nagle Algorithm)
michi1 at michaelblizek.twilightparadox.com
michi1 at michaelblizek.twilightparadox.com
Sun Apr 1 04:03:16 EDT 2018
Hi!
On 18:15 Fri 30 Mar , Naruto Nguyen wrote:
> Hello everyone,
>
> As I know we have a socket option SO_TCP_NODELAY to disable Nagle
> Algorithm, and I found it is implemented in TCP/IP stack at
> https://elixir.bootlin.com/linux/v4.4.90/source/net/ipv4/tcp.c#L2401 .
> However, I do not know where the source code the Nagle Algorithm is
> implemented in kernel. If you know, could you please help me?
This looks like it:
net/ipv4/tcp_output.c
==> tcp_nagle_check()
-Michi
--
programing a layer 3+4 network protocol for mesh networks
see http://michaelblizek.twilightparadox.com
More information about the Kernelnewbies
mailing list