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
99 * @list: links to adjacent nodes in sorted list of cluster's nodes
100 * @working_links: number of working links to node (both active and standby)
101 * @link_cnt: number of links to node
124 struct tipc_link_entry links[MAX_BEARERS];
204 return n->links[bearer_id].link;
227 mtu = n->links[bearer_id].mtu;
523 l = n->links[bearer_id].link;
574 spin_lock_init(&n->links[i].lock);
753 struct tipc_link_entry *le = &node->links[i];
764 * have active links for NODE_CLEANUP_AFTER time
833 le = &n->links[bearer_id];
864 struct tipc_link *nl = n->links[bearer_id].link;
878 n->links[bearer_id].mtu = tipc_link_mss(nl);
934 maddr = &n->links[bearer_id].maddr;
946 * 1. Both links <1A-2A>, <1B-2B> down
994 struct tipc_link_entry *le = &n->links[*bearer_id];
1000 l = n->links[*bearer_id].link;
1017 _l = n->links[i].link;
1042 *maddr = &n->links[*bearer_id].maddr;
1051 tnl = n->links[*bearer_id].link;
1061 *maddr = &n->links[*bearer_id].maddr;
1066 struct tipc_link_entry *le = &n->links[bearer_id];
1199 le = &n->links[b->identity];
1331 pr_warn("Resetting all links to %x\n", n->addr);
1537 l = n->links[i].link;
1584 link = node->links[bearer_id].link;
1739 le = &n->links[bearer_id];
1857 ucl = n->links[bearer_id].link;
1894 le = &n->links[bearer_id];
1917 /* If reassembly or retransmission failure => reset all links to peer */
1950 l = n->links[bearer_id].link;
1961 if ((pb_id != bearer_id) && n->links[pb_id].link) {
1962 pl = n->links[pb_id].link;
2140 le = &n->links[bearer_id];
2221 e = &n->links[bearer_id];
2382 * @bearer_id: pointer to index in 'node->links' array where the link was found.
2401 l = n->links[i].link;
2454 link = node->links[bearer_id].link;
2493 tipc_bearer_xmit(net, bearer_id, &xmitq, &node->links[bearer_id].maddr,
2543 link = node->links[bearer_id].link;
2615 le = &node->links[bearer_id];
2618 link = node->links[bearer_id].link;
2641 if (!node->links[i].link)
2645 node->links[i].link, NLM_F_MULTI);
2680 /* Check if broadcast-receiver links dumping is needed */
3115 i += scnprintf(buf + i, sz - i, " mtu: %u\n", n->links[0].mtu);
3117 i += tipc_media_addr_printf(buf + i, sz - i, &n->links[0].maddr);
3119 i += tipc_link_dump(n->links[0].link, TIPC_DUMP_NONE, buf + i);
3121 i += tipc_list_dump(&n->links[0].inputq, false, buf + i);
3124 i += scnprintf(buf + i, sz - i, " mtu: %u\n", n->links[1].mtu);
3126 i += tipc_media_addr_printf(buf + i, sz - i, &n->links[1].maddr);
3128 i += tipc_link_dump(n->links[1].link, TIPC_DUMP_NONE, buf + i);
3130 i += tipc_list_dump(&n->links[1].inputq, false, buf + i);