Home
last modified time | relevance | path

Searched refs:sock_net (Results 1 – 10 of 10) sorted by relevance

/include/net/
Dudp.h430 ipv4 ? (IS_UDPLITE(sk) ? sock_net(sk)->mib.udplite_statistics : \
431 sock_net(sk)->mib.udp_statistics) : \
432 (IS_UDPLITE(sk) ? sock_net(sk)->mib.udplite_stats_in6 : \
433 sock_net(sk)->mib.udp_stats_in6); \
438 IS_UDPLITE(sk) ? sock_net(sk)->mib.udplite_statistics : \
439 sock_net(sk)->mib.udp_statistics; \
Dinet_sock.h111 READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_fwmark_accept)) in inet_request_mark()
122 struct net *net = sock_net(sk); in inet_request_bound_dev_if()
134 struct net *net = sock_net(sk); in inet_sk_bound_l3mdev()
Dinet6_hashtables.h113 if (!net_eq(sock_net(sk), net) || in inet6_match()
Dinet_hashtables.h230 return inet_lhashfn(sock_net(sk), inet_sk(sk)->inet_num); in inet_sk_listen_hashfn()
303 if (!net_eq(sock_net(sk), net) || in INET_MATCH()
Dtcp.h1402 if (!READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_slow_start_after_idle) || in tcp_slow_start_after_idle_check()
1418 int tcp_adv_win_scale = READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_adv_win_scale); in tcp_win_from_space()
1479 struct net *net = sock_net((struct sock *)tp); in keepalive_intvl_when()
1492 struct net *net = sock_net((struct sock *)tp); in keepalive_time_when()
1503 struct net *net = sock_net((struct sock *)tp); in keepalive_probes()
1525 READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_fin_timeout); in tcp_fin_time()
1760 ctx = rcu_dereference(sock_net(sk)->ipv4.tcp_fastopen_ctx); in tcp_fastopen_get_ctx()
2018 struct net *net = sock_net((struct sock *)tp); in tcp_notsent_lowat()
2092 __NET_INC_STATS(sock_net(sk), LINUX_MIB_SYNCOOKIESSENT); in cookie_init_sequence()
2212 __NET_INC_STATS(sock_net(sk), LINUX_MIB_LISTENDROPS); in tcp_listendrop()
Droute.h312 struct net *net = sock_net(sk); in ip_route_connect()
342 return ip_route_output_flow(sock_net(sk), fl4, sk); in ip_route_newports()
Dsock.h2728 struct net *sock_net(const struct sock *sk) in sock_net() function
2855 return READ_ONCE(*(int *)((void *)sock_net(sk) + proto->sysctl_wmem_offset)); in sk_get_wmem0()
2864 return READ_ONCE(*(int *)((void *)sock_net(sk) + proto->sysctl_rmem_offset)); in sk_get_rmem0()
2892 mdif = l3mdev_master_ifindex_by_index(sock_net(sk), dif); in sk_dev_equal_l3scope()
Dipv6.h402 READ_ONCE(sock_net(sk)->ipv6.flowlabel_has_excl)) in fl6_sock_lookup()
/include/linux/
Dsock_diag.h84 const struct net *n = sock_net(sk); in sock_diag_has_destroy_listeners()
Dtcp.h482 int somaxconn = READ_ONCE(sock_net(sk)->core.sysctl_somaxconn); in fastopen_queue_tune()