Lines Matching defs:role
77 // Channel binding 2: negotiate direction, role and trust level
87 // Channel binding 2: negotiate direction, role and trust level -----------
90 enum bulk_channel_role role;
109 channel->role = flounder2bulk_role(match_role);
151 bulk2flounder_role(bulk_role_other(channel->role));
181 enum bulk_ctrl_role_t role,
191 .role = channel->role,
196 .role = flounder2bulk_role(role),
203 if (me.role == BULK_ROLE_GENERIC) {
204 if (peer.role == BULK_ROLE_GENERIC) {
205 me.role = BULK_ROLE_MASTER;
206 peer.role = BULK_ROLE_SLAVE;
208 me.role = bulk_role_other(peer.role);
211 if (peer.role == BULK_ROLE_GENERIC) {
212 peer.role = bulk_role_other(me.role);
214 valid = valid && (me.role == bulk_role_other(peer.role));
222 // update possibly updated role
223 channel->role = me.role;
246 bulk2flounder_role(channel->role),