Home
last modified time | relevance | path

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

/Linux-v6.1/net/smc/
Dsmc_sysctl.c92 WRITE_ONCE(net->smc.sysctl_rmem, READ_ONCE(net->ipv4.sysctl_tcp_rmem[1])); in smc_sysctl_net_init()
/Linux-v6.1/include/net/netns/
Dipv4.h173 int sysctl_tcp_rmem[3]; member
/Linux-v6.1/net/ipv4/
Dsysctl_net_ipv4.c1310 .data = &init_net.ipv4.sysctl_tcp_rmem,
1311 .maxlen = sizeof(init_net.ipv4.sysctl_tcp_rmem),
Dtcp_ipv4.c3085 .sysctl_rmem_offset = offsetof(struct net, ipv4.sysctl_tcp_rmem),
3196 memcpy(net->ipv4.sysctl_tcp_rmem, in tcp_sk_init()
3197 init_net.ipv4.sysctl_tcp_rmem, in tcp_sk_init()
3198 sizeof(init_net.ipv4.sysctl_tcp_rmem)); in tcp_sk_init()
Dtcp.c458 WRITE_ONCE(sk->sk_rcvbuf, READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_rmem[1])); in tcp_init_sock()
1851 cap = READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_rmem[2]) >> 1; in tcp_set_rcvlowat()
4820 init_net.ipv4.sysctl_tcp_rmem[0] = PAGE_SIZE; in tcp_init()
4821 init_net.ipv4.sysctl_tcp_rmem[1] = 131072; in tcp_init()
4822 init_net.ipv4.sysctl_tcp_rmem[2] = max(131072, max_rshare); in tcp_init()
Dtcp_input.c464 int window = tcp_win_from_space(sk, READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_rmem[2])) >> 1; in __tcp_grow_window()
580 rmem2 = READ_ONCE(net->ipv4.sysctl_tcp_rmem[2]); in tcp_clamp_window()
749 READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_rmem[2])); in tcp_rcv_space_adjust()
Dtcp_output.c241 space = max_t(u32, space, READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_rmem[2])); in tcp_select_initial_window()
/Linux-v6.1/net/mptcp/
Dprotocol.c1957 READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_rmem[2])); in mptcp_rcv_space_adjust()
2734 sk->sk_rcvbuf = READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_rmem[1]); in mptcp_init_sock()
3620 .sysctl_rmem_offset = offsetof(struct net, ipv4.sysctl_tcp_rmem),
/Linux-v6.1/net/ipv6/
Dtcp_ipv6.c2185 .sysctl_rmem_offset = offsetof(struct net, ipv4.sysctl_tcp_rmem),