Home
last modified time | relevance | path

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

/net/ipv4/
Dtcp_input.c417 int sndmem, per_mss; in tcp_sndbuf_expand() local
437 sndmem = ca_ops->sndbuf_expand ? ca_ops->sndbuf_expand(sk) : 2; in tcp_sndbuf_expand()
438 sndmem *= nr_segs * per_mss; in tcp_sndbuf_expand()
440 if (sk->sk_sndbuf < sndmem) in tcp_sndbuf_expand()
442 min(sndmem, READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_wmem[2]))); in tcp_sndbuf_expand()