Searched refs:sndmem (Results 1 – 1 of 1) sorted by relevance
404 int sndmem, per_mss; in tcp_sndbuf_expand() local424 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()