Lines Matching defs:links
88 * @hash: links to adjacent nodes in unsorted hash chain
91 * @active_links: bearer ids of active links, used as index into links[] array
92 * @links: array containing references to all links to node
97 * @list: links to adjacent nodes in sorted list of cluster's nodes
98 * @working_links: number of working links to node (both active and standby)
99 * @link_cnt: number of links to node
115 struct tipc_link_entry links[MAX_BEARERS];
195 return n->links[bearer_id].link;
218 mtu = n->links[bearer_id].mtu;
507 l = n->links[bearer_id].link;
558 spin_lock_init(&n->links[i].lock);
737 struct tipc_link_entry *le = &node->links[i];
748 * have active links for NODE_CLEANUP_AFTER time
817 le = &n->links[bearer_id];
845 struct tipc_link *nl = n->links[bearer_id].link;
859 n->links[bearer_id].mtu = tipc_link_mss(nl);
912 maddr = &n->links[bearer_id].maddr;
923 * 1. Both links <1A-2A>, <1B-2B> down
967 struct tipc_link_entry *le = &n->links[*bearer_id];
973 l = n->links[*bearer_id].link;
990 _l = n->links[i].link;
1015 *maddr = &n->links[*bearer_id].maddr;
1024 tnl = n->links[*bearer_id].link;
1034 *maddr = &n->links[*bearer_id].maddr;
1039 struct tipc_link_entry *le = &n->links[bearer_id];
1172 le = &n->links[b->identity];
1304 pr_warn("Resetting all links to %x\n", n->addr);
1510 l = n->links[i].link;
1555 link = node->links[bearer_id].link;
1710 le = &n->links[bearer_id];
1828 ucl = n->links[bearer_id].link;
1865 le = &n->links[bearer_id];
1888 /* If reassembly or retransmission failure => reset all links to peer */
1919 l = n->links[bearer_id].link;
1930 if ((pb_id != bearer_id) && n->links[pb_id].link) {
1931 pl = n->links[pb_id].link;
2109 le = &n->links[bearer_id];
2190 e = &n->links[bearer_id];
2336 * @bearer_id: pointer to index in 'node->links' array where the link was found.
2355 l = n->links[i].link;
2408 link = node->links[bearer_id].link;
2447 tipc_bearer_xmit(net, bearer_id, &xmitq, &node->links[bearer_id].maddr,
2497 link = node->links[bearer_id].link;
2569 le = &node->links[bearer_id];
2572 link = node->links[bearer_id].link;
2595 if (!node->links[i].link)
2599 node->links[i].link, NLM_F_MULTI);
2634 /* Check if broadcast-receiver links dumping is needed */
3069 i += scnprintf(buf + i, sz - i, " mtu: %u\n", n->links[0].mtu);
3071 i += tipc_media_addr_printf(buf + i, sz - i, &n->links[0].maddr);
3073 i += tipc_link_dump(n->links[0].link, TIPC_DUMP_NONE, buf + i);
3075 i += tipc_list_dump(&n->links[0].inputq, false, buf + i);
3078 i += scnprintf(buf + i, sz - i, " mtu: %u\n", n->links[1].mtu);
3080 i += tipc_media_addr_printf(buf + i, sz - i, &n->links[1].maddr);
3082 i += tipc_link_dump(n->links[1].link, TIPC_DUMP_NONE, buf + i);
3084 i += tipc_list_dump(&n->links[1].inputq, false, buf + i);