Lines Matching defs:cid
389 mptcp_getconninfo(struct mptses *mpte, connid_t *cid, uint32_t *flags,
402 if (*cid == CONNID_ALL)
406 if (mpts->mpts_connid == *cid || *cid == CONNID_ANY)
410 return ((*cid == CONNID_ANY) ? ENXIO : EINVAL);
414 *cid = mpts->mpts_connid;
493 mptcp_setconnorder(struct mptses *mpte, connid_t cid, uint32_t rank)
499 mptcplog((LOG_DEBUG, "%s: cid %d rank %d \n", __func__, cid, rank));
501 if (cid == CONNID_ANY || cid == CONNID_ALL) {
507 if (mpts->mpts_connid == cid)
586 mptcplog((LOG_DEBUG, "%s cid %d flags %x", __func__,
596 mptcp_getconnorder(struct mptses *mpte, connid_t cid, uint32_t *rank)
605 if (cid == CONNID_ANY || cid == CONNID_ALL) {
611 if (mpts->mpts_connid == cid)
746 mptcp_disconnectx(struct mptses *mpte, associd_t aid, connid_t cid)
758 mptcplog((LOG_DEBUG, "%s: mp_so 0x%llx aid %d cid %d\n", __func__,
759 (u_int64_t)VM_KERNEL_ADDRPERM(mp_so), aid, cid));
761 connid_t, cid, struct socket *, mp_so, struct mptcb *, mp_tp);
767 if (cid == CONNID_ANY || cid == CONNID_ALL) {
798 if (mpts->mpts_connid != cid)
829 mptcp_usr_disconnectx(struct socket *mp_so, associd_t aid, connid_t cid)
849 error = mptcp_disconnectx(mpte, aid, cid);