Lines Matching refs:bearer
48 #include "bearer.h"
67 * @primary: pointer to primary bearer
68 * @secondary: pointer to secondary bearer
75 struct bearer *primary;
76 struct bearer *secondary;
80 * struct bcbearer - bearer used by broadcast link
81 * @bearer: (non-standard) broadcast bearer structure
83 * @bpairs: array of bearer pairs
84 * @bpairs_temp: temporary array of bearer pairs used by tipc_bcbearer_sort()
88 * Note: The fields labelled "temporary" are incorporated into the bearer
95 struct bearer bearer;
286 if (tipc_bearer_send(&bcbearer->bearer, buf, NULL)) {
549 * tipc_bcbearer_send - send a packet through the broadcast pseudo-bearer
578 /* Determine if bearer pairs should be swapped following this attempt */
588 struct bearer *p = bcbearer->bpairs[bp_index].primary;
589 struct bearer *s = bcbearer->bpairs[bp_index].secondary;
596 continue; /* bearer pair doesn't add anything */
608 continue; /* unable to send using bearer pair */
621 bcbearer->bearer.publ.blocked = 1;
627 * tipc_bcbearer_sort - create sets of bearer pairs used by broadcast bearer
644 struct bearer *b = &tipc_bearers[b_index];
655 /* Create array of bearer pairs for broadcasting */
684 * tipc_bcbearer_push - resolve bearer congestion
693 struct bearer *b_ptr;
696 b_ptr = &bcbearer->bearer;
739 tipc_printf(&pb, " Congestion bearer:%u link:%u Send queue max:%u avg:%u\n",
789 INIT_LIST_HEAD(&bcbearer->bearer.cong_links);
790 bcbearer->bearer.media = &bcbearer->media;
801 bcl->b_ptr = &bcbearer->bearer;