Searched refs:pernet (Results 1 – 3 of 3) sorted by relevance
/net/mptcp/ |
D | ctrl.c | 61 static void mptcp_pernet_set_defaults(struct mptcp_pernet *pernet) in mptcp_pernet_set_defaults() argument 63 pernet->mptcp_enabled = 1; in mptcp_pernet_set_defaults() 64 pernet->add_addr_timeout = TCP_RTO_MAX; in mptcp_pernet_set_defaults() 65 pernet->checksum_enabled = 0; in mptcp_pernet_set_defaults() 66 pernet->allow_join_initial_addr_port = 1; in mptcp_pernet_set_defaults() 67 pernet->stale_loss_cnt = 4; in mptcp_pernet_set_defaults() 114 static int mptcp_pernet_new_table(struct net *net, struct mptcp_pernet *pernet) in mptcp_pernet_new_table() argument 126 table[0].data = &pernet->mptcp_enabled; in mptcp_pernet_new_table() 127 table[1].data = &pernet->add_addr_timeout; in mptcp_pernet_new_table() 128 table[2].data = &pernet->checksum_enabled; in mptcp_pernet_new_table() [all …]
|
D | pm_netlink.c | 162 select_local_address(const struct pm_nl_pernet *pernet, in select_local_address() argument 172 list_for_each_entry_rcu(entry, &pernet->local_addr_list, list) { in select_local_address() 199 select_signal_address(struct pm_nl_pernet *pernet, unsigned int pos) in select_signal_address() argument 210 list_for_each_entry_rcu(entry, &pernet->local_addr_list, list) { in select_signal_address() 224 struct pm_nl_pernet *pernet; in mptcp_pm_get_add_addr_signal_max() local 226 pernet = net_generic(sock_net((struct sock *)msk), pm_nl_pernet_id); in mptcp_pm_get_add_addr_signal_max() 227 return READ_ONCE(pernet->add_addr_signal_max); in mptcp_pm_get_add_addr_signal_max() 233 struct pm_nl_pernet *pernet; in mptcp_pm_get_add_addr_accept_max() local 235 pernet = net_generic(sock_net((struct sock *)msk), pm_nl_pernet_id); in mptcp_pm_get_add_addr_accept_max() 236 return READ_ONCE(pernet->add_addr_accept_max); in mptcp_pm_get_add_addr_accept_max() [all …]
|
/net/netfilter/ |
D | nfnetlink_cttimeout.c | 90 struct nfct_timeout_pernet *pernet = nfct_timeout_pernet(info->net); in cttimeout_new_timeout() local 108 list_for_each_entry(timeout, &pernet->nfct_timeout_list, head) { in cttimeout_new_timeout() 161 list_add_tail_rcu(&timeout->head, &pernet->nfct_timeout_list); in cttimeout_new_timeout() 216 struct nfct_timeout_pernet *pernet; in ctnl_timeout_dump() local 228 pernet = nfct_timeout_pernet(net); in ctnl_timeout_dump() 229 list_for_each_entry_rcu(cur, &pernet->nfct_timeout_list, head) { in ctnl_timeout_dump() 254 struct nfct_timeout_pernet *pernet = nfct_timeout_pernet(info->net); in cttimeout_get_timeout() local 270 list_for_each_entry(cur, &pernet->nfct_timeout_list, head) { in cttimeout_get_timeout() 321 struct nfct_timeout_pernet *pernet = nfct_timeout_pernet(info->net); in cttimeout_del_timeout() local 327 list_for_each_entry_safe(cur, tmp, &pernet->nfct_timeout_list, in cttimeout_del_timeout() [all …]
|