Lines Matching refs:tn
83 struct tipc_net *tn = tipc_net(net);
88 tipc_msg_init(tn->trial_addr, hdr, LINK_CONFIG, mtyp,
92 msg_set_node_sig(hdr, tn->random);
95 msg_set_bc_netid(hdr, tn->net_id);
97 msg_set_peer_net_hash(hdr, tipc_net_hash_mixes(net, tn->random));
149 struct tipc_net *tn = tipc_net(net);
151 bool trial = time_before(jiffies, tn->addr_trial_end) && !self;
158 if (dst != tn->trial_addr)
162 tn->trial_addr = sugg_addr;
164 tn->addr_trial_end = jiffies + msecs_to_jiffies(1000);
170 schedule_work(&tn->work);
171 msg_set_prevnode(buf_msg(d->skb), tn->trial_addr);
195 struct tipc_net *tn = tipc_net(net);
199 bool legacy = tn->legacy_addr_format;
233 if (net_id != tn->net_id)
295 struct tipc_net *tn = tipc_net(d->net);
310 if (!time_before(jiffies, tn->addr_trial_end) && !tipc_own_addr(net)) {
313 schedule_work(&tn->work);
318 if (time_before(jiffies, tn->addr_trial_end)) {
327 msg_set_prevnode(buf_msg(d->skb), tn->trial_addr);
352 struct tipc_net *tn = tipc_net(net);
367 tn->addr_trial_end = jiffies + msecs_to_jiffies(1000);