Home
last modified time | relevance | path

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

/linux/net/mptcp/
H A Dctrl.c97 static void mptcp_pernet_set_defaults(struct mptcp_pernet *pernet) in mptcp_pernet_set_defaults() argument
99 pernet->mptcp_enabled = 1; in mptcp_pernet_set_defaults()
100 pernet->add_addr_timeout = TCP_RTO_MAX; in mptcp_pernet_set_defaults()
101 pernet->blackhole_timeout = 3600; in mptcp_pernet_set_defaults()
102 pernet->syn_retrans_before_tcp_fallback = 2; in mptcp_pernet_set_defaults()
103 atomic_set(&pernet->active_disable_times, 0); in mptcp_pernet_set_defaults()
104 pernet->close_timeout = TCP_TIMEWAIT_LEN; in mptcp_pernet_set_defaults()
105 pernet->checksum_enabled = 0; in mptcp_pernet_set_defaults()
106 pernet->allow_join_initial_addr_port = 1; in mptcp_pernet_set_defaults()
107 pernet->stale_loss_cnt = 4; in mptcp_pernet_set_defaults()
[all …]
H A Dpm_kernel.c52 const struct pm_nl_pernet *pernet = pm_nl_get_pernet_from_msk(msk); in mptcp_pm_get_endp_signal_max() local
54 return READ_ONCE(pernet->endp_signal_max); in mptcp_pm_get_endp_signal_max()
60 struct pm_nl_pernet *pernet = pm_nl_get_pernet_from_msk(msk); in mptcp_pm_get_endp_subflow_max() local
62 return READ_ONCE(pernet->endp_subflow_max); in mptcp_pm_get_endp_subflow_max()
68 struct pm_nl_pernet *pernet = pm_nl_get_pernet_from_msk(msk); in mptcp_pm_get_endp_laminar_max() local
70 return READ_ONCE(pernet->endp_laminar_max); in mptcp_pm_get_endp_laminar_max()
76 struct pm_nl_pernet *pernet = pm_nl_get_pernet_from_msk(msk); in mptcp_pm_get_endp_fullmesh_max() local
78 return READ_ONCE(pernet->endp_fullmesh_max); in mptcp_pm_get_endp_fullmesh_max()
84 struct pm_nl_pernet *pernet = pm_nl_get_pernet_from_msk(msk); in mptcp_pm_get_limit_add_addr_accepted() local
86 return READ_ONCE(pernet->limit_add_addr_accepted); in mptcp_pm_get_limit_add_addr_accepted()
[all …]
/linux/net/netfilter/
H A Dnfnetlink_cttimeout.c101 struct nfct_timeout_pernet *pernet = nfct_timeout_pernet(info->net); in cttimeout_new_timeout() local
119 list_for_each_entry(timeout, &pernet->nfct_timeout_list, head) { in cttimeout_new_timeout()
173 list_add_tail_rcu(&timeout->head, &pernet->nfct_timeout_list); in cttimeout_new_timeout()
228 struct nfct_timeout_pernet *pernet; in ctnl_timeout_dump() local
240 pernet = nfct_timeout_pernet(net); in ctnl_timeout_dump()
241 list_for_each_entry_rcu(cur, &pernet->nfct_timeout_list, head) { in ctnl_timeout_dump()
266 struct nfct_timeout_pernet *pernet = nfct_timeout_pernet(info->net); in cttimeout_get_timeout() local
282 list_for_each_entry(cur, &pernet->nfct_timeout_list, head) { in cttimeout_get_timeout()
333 struct nfct_timeout_pernet *pernet = nfct_timeout_pernet(info->net); in cttimeout_del_timeout() local
339 list_for_each_entry_safe(cur, tmp, &pernet->nfct_timeout_list, in cttimeout_del_timeout()
[all …]
/linux/drivers/infiniband/core/
H A Dcma.c182 struct cma_pernet *pernet = cma_pernet(net); in cma_pernet_xa() local
186 return &pernet->tcp_ps; in cma_pernet_xa()
188 return &pernet->udp_ps; in cma_pernet_xa()
190 return &pernet->ipoib_ps; in cma_pernet_xa()
192 return &pernet->ib_ps; in cma_pernet_xa()
5459 struct cma_pernet *pernet = cma_pernet(net); in cma_init_net() local
5461 xa_init(&pernet->tcp_ps); in cma_init_net()
5462 xa_init(&pernet->udp_ps); in cma_init_net()
5463 xa_init(&pernet->ipoib_ps); in cma_init_net()
5464 xa_init(&pernet->ib_ps); in cma_init_net()
[all …]
/linux/include/net/
H A Dinet_hashtables.h177 bool pernet; member
/linux/net/ipv4/
H A Dinet_hashtables.c1361 new_hashinfo->pernet = true; in inet_pernet_hashinfo_alloc()
1375 if (!hashinfo->pernet) in inet_pernet_hashinfo_free()
H A Dtcp_minisocks.c420 if (net->ipv4.tcp_death_row.hashinfo->pernet) { in tcp_twsk_purge()
H A Dsysctl_net_ipv4.c408 if (!net_eq(net, &init_net) && !hinfo->pernet) in proc_tcp_ehash_entries()
H A Dtcp.c5336 tcp_hashinfo.pernet = false; in tcp_init()