Lines Matching refs:tn
84 struct tipc_net *tn = tipc_net(net);
89 tipc_msg_init(tn->trial_addr, hdr, LINK_CONFIG, mtyp,
93 msg_set_node_sig(hdr, tn->random);
96 msg_set_bc_netid(hdr, tn->net_id);
98 msg_set_peer_net_hash(hdr, tipc_net_hash_mixes(net, tn->random));
150 struct tipc_net *tn = tipc_net(net);
152 bool trial = time_before(jiffies, tn->addr_trial_end) && !self;
159 if (dst != tn->trial_addr)
163 tn->trial_addr = sugg_addr;
165 tn->addr_trial_end = jiffies + msecs_to_jiffies(1000);
171 schedule_work(&tn->work);
172 msg_set_prevnode(buf_msg(d->skb), tn->trial_addr);
196 struct tipc_net *tn = tipc_net(net);
200 bool legacy = tn->legacy_addr_format;
234 if (net_id != tn->net_id)
296 struct tipc_net *tn = tipc_net(d->net);
311 if (!time_before(jiffies, tn->addr_trial_end) && !tipc_own_addr(net)) {
314 schedule_work(&tn->work);
319 if (time_before(jiffies, tn->addr_trial_end)) {
328 msg_set_prevnode(buf_msg(d->skb), tn->trial_addr);
353 struct tipc_net *tn = tipc_net(net);
368 tn->addr_trial_end = jiffies + msecs_to_jiffies(1000);