Lines Matching refs:method
61 * @rc_ratio: dest count as percentage of cluster size where send method changes
213 struct tipc_mc_method *method)
216 unsigned long exp = method->expires;
220 method->rcast = true;
225 method->rcast = false;
228 /* Can current method be changed ? */
229 method->expires = jiffies + TIPC_METHOD_EXPIRE;
230 if (method->mandatory)
237 /* Configuration as force 'broadcast' method */
239 method->rcast = false;
242 /* Configuration as force 'replicast' method */
244 method->rcast = true;
247 /* Configuration as 'autoselect' or default method */
248 /* Determine method to use now */
249 method->rcast = dests <= bb->bc_threshold;
313 * @method: send method to be used
318 struct tipc_mc_method *method,
349 /* Reverse method for dummy message */
357 if (method->rcast)
372 * @method: send method to be used
379 struct tipc_mc_method *method, struct tipc_nlist *dests,
383 bool rcast = method->rcast;
396 /* Send according to determined transmit method */
398 tipc_bcast_select_xmit_method(net, dests->remote, method);
404 msg_set_is_rcast(hdr, method->rcast);
406 /* Switch method ? */
407 if (rcast != method->rcast) {
408 rc = tipc_mcast_send_sync(net, skb, method, dests);
410 pr_err("Unable to send SYN: method %d, rc %d\n",
416 if (method->rcast)