Lines Matching refs:ipv4
19 ctxt = rcu_dereference(net->ipv4.tcp_fastopen_ctx);
58 spin_lock(&net->ipv4.tcp_fastopen_ctx_lock);
60 ctxt = rcu_dereference_protected(net->ipv4.tcp_fastopen_ctx,
61 lockdep_is_held(&net->ipv4.tcp_fastopen_ctx_lock));
62 rcu_assign_pointer(net->ipv4.tcp_fastopen_ctx, NULL);
63 spin_unlock(&net->ipv4.tcp_fastopen_ctx_lock);
92 spin_lock(&net->ipv4.tcp_fastopen_ctx_lock);
96 lockdep_is_held(&net->ipv4.tcp_fastopen_ctx_lock));
99 octx = rcu_dereference_protected(net->ipv4.tcp_fastopen_ctx,
100 lockdep_is_held(&net->ipv4.tcp_fastopen_ctx_lock));
101 rcu_assign_pointer(net->ipv4.tcp_fastopen_ctx, ctx);
103 spin_unlock(&net->ipv4.tcp_fastopen_ctx_lock);
121 ctx = rcu_dereference(net->ipv4.tcp_fastopen_ctx);
354 return (READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_fastopen) & flag) ||
369 int tcp_fastopen = READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_fastopen);
511 if (!READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_fastopen_blackhole_timeout))
515 WRITE_ONCE(net->ipv4.tfo_active_disable_stamp, jiffies);
518 * We want net->ipv4.tfo_active_disable_stamp to be updated first.
521 atomic_inc(&net->ipv4.tfo_active_disable_times);
533 READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_fastopen_blackhole_timeout);
541 tfo_da_times = atomic_read(&sock_net(sk)->ipv4.tfo_active_disable_times);
552 timeout = READ_ONCE(sock_net(sk)->ipv4.tfo_active_disable_stamp) +
588 atomic_read(&sock_net(sk)->ipv4.tfo_active_disable_times)) {
591 atomic_set(&sock_net(sk)->ipv4.tfo_active_disable_times, 0);