Lines Matching +full:software +full:- +full:configurable
4 * Copyright (c) 2003-2006, 2013, Ericsson AB
5 * Copyright (c) 2005-2006, 2010-2013, Wind River Systems
18 * this software without specific prior written permission.
20 * Alternatively, this software may be distributed under the terms of the
22 * Software Foundation.
24 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
33 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
49 /* configurable TIPC parameters */
58 tn->net_id = 4711; in tipc_init_net()
59 tn->node_addr = 0; in tipc_init_net()
60 tn->trial_addr = 0; in tipc_init_net()
61 tn->addr_trial_end = 0; in tipc_init_net()
62 tn->capabilities = TIPC_NODE_CAPABILITIES; in tipc_init_net()
63 INIT_WORK(&tn->work, tipc_net_finalize_work); in tipc_init_net()
64 memset(tn->node_id, 0, sizeof(tn->node_id)); in tipc_init_net()
65 memset(tn->node_id_string, 0, sizeof(tn->node_id_string)); in tipc_init_net()
66 tn->mon_threshold = TIPC_DEF_MON_THRESHOLD; in tipc_init_net()
67 get_random_bytes(&tn->random, sizeof(int)); in tipc_init_net()
68 INIT_LIST_HEAD(&tn->node_list); in tipc_init_net()
69 spin_lock_init(&tn->node_list_lock); in tipc_init_net()
72 err = tipc_crypto_start(&tn->crypto_tx, net, NULL); in tipc_init_net()
101 tipc_crypto_stop(&tn->crypto_tx); in tipc_init_net()
114 cancel_work_sync(&tn->work); in tipc_exit_net()
119 tipc_crypto_stop(&tipc_net(net)->crypto_tx); in tipc_exit_net()
121 while (atomic_read(&tn->wq_count)) in tipc_exit_net()