Lines Matching refs:sock_net
335 __NET_INC_STATS(sock_net(sk), in tcp_fastopen_queue_check()
352 return (sock_net(sk)->ipv4.sysctl_tcp_fastopen & flag) || in tcp_fastopen_no_cookie()
367 int tcp_fastopen = sock_net(sk)->ipv4.sysctl_tcp_fastopen; in tcp_try_fastopen()
373 NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPFASTOPENCOOKIEREQD); in tcp_try_fastopen()
393 NET_INC_STATS(sock_net(sk), in tcp_try_fastopen()
411 NET_INC_STATS(sock_net(sk), in tcp_try_fastopen()
416 NET_INC_STATS(sock_net(sk), in tcp_try_fastopen()
420 NET_INC_STATS(sock_net(sk), in tcp_try_fastopen()
508 struct net *net = sock_net(sk); in tcp_fastopen_active_disable()
521 unsigned int tfo_bh_timeout = sock_net(sk)->ipv4.sysctl_tcp_fastopen_blackhole_timeout; in tcp_fastopen_active_should_disable()
522 int tfo_da_times = atomic_read(&sock_net(sk)->ipv4.tfo_active_disable_times); in tcp_fastopen_active_should_disable()
532 if (time_before(jiffies, sock_net(sk)->ipv4.tfo_active_disable_stamp + timeout)) in tcp_fastopen_active_should_disable()
566 atomic_read(&sock_net(sk)->ipv4.tfo_active_disable_times)) { in tcp_fastopen_active_disable_ofo_check()
569 atomic_set(&sock_net(sk)->ipv4.tfo_active_disable_times, 0); in tcp_fastopen_active_disable_ofo_check()
587 NET_INC_STATS(sock_net(sk), LINUX_MIB_TCPFASTOPENACTIVEFAIL); in tcp_fastopen_active_detect_blackhole()