Home
last modified time | relevance | path

Searched refs:sndmem (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/net/ipv4/
Dtcp_input.c404 int sndmem, per_mss; in tcp_sndbuf_expand() local
424 sndmem = ca_ops->sndbuf_expand ? ca_ops->sndbuf_expand(sk) : 2; in tcp_sndbuf_expand()
425 sndmem *= nr_segs * per_mss; in tcp_sndbuf_expand()
427 if (sk->sk_sndbuf < sndmem) in tcp_sndbuf_expand()
429 min(sndmem, READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_wmem[2]))); in tcp_sndbuf_expand()