Lines Matching defs:rank
498 mptcp_setconnorder(struct mptses *mpte, connid_t cid, uint32_t rank)
504 mptcplog((LOG_DEBUG, "%s: cid %d rank %d \n", __func__, cid, rank));
520 if (rank == 0 || rank > 1) {
522 * If rank is 0, determine whether this should be the
538 mpts->mpts_rank = rank;
540 /* preferred subflow found; set rank as necessary */
541 if (rank == 0)
543 } else if (rank == 0) {
545 rank = 1;
550 if (rank == 1) {
552 * If rank is 1, promote this subflow to be preferred.
601 mptcp_getconnorder(struct mptses *mpte, connid_t cid, uint32_t *rank)
607 VERIFY(rank != NULL);
608 *rank = 0;
625 *rank = mpts->mpts_rank;