Lines Matching refs:ipv4
19 ctxt = rcu_dereference(net->ipv4.tcp_fastopen_ctx); in tcp_fastopen_init_key_once()
58 ctxt = xchg((__force struct tcp_fastopen_context **)&net->ipv4.tcp_fastopen_ctx, NULL); in tcp_fastopen_ctx_destroy()
91 octx = xchg((__force struct tcp_fastopen_context **)&net->ipv4.tcp_fastopen_ctx, ctx); in tcp_fastopen_reset_cipher()
110 ctx = rcu_dereference(net->ipv4.tcp_fastopen_ctx); in tcp_fastopen_get_cipher()
343 return (READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_fastopen) & flag) || in tcp_fastopen_no_cookie()
358 int tcp_fastopen = READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_fastopen); in tcp_try_fastopen()
500 if (!READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_fastopen_blackhole_timeout)) in tcp_fastopen_active_disable()
504 WRITE_ONCE(net->ipv4.tfo_active_disable_stamp, jiffies); in tcp_fastopen_active_disable()
510 atomic_inc(&net->ipv4.tfo_active_disable_times); in tcp_fastopen_active_disable()
522 READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_fastopen_blackhole_timeout); in tcp_fastopen_active_should_disable()
530 tfo_da_times = atomic_read(&sock_net(sk)->ipv4.tfo_active_disable_times); in tcp_fastopen_active_should_disable()
541 timeout = READ_ONCE(sock_net(sk)->ipv4.tfo_active_disable_stamp) + in tcp_fastopen_active_should_disable()
577 atomic_read(&sock_net(sk)->ipv4.tfo_active_disable_times)) { in tcp_fastopen_active_disable_ofo_check()
580 atomic_set(&sock_net(sk)->ipv4.tfo_active_disable_times, 0); in tcp_fastopen_active_disable_ofo_check()