Lines Matching refs:resp
422 struct uni_all *resp;
474 if ((resp = UNI_ALLOC()) == NULL)
478 MK_MSG_RESP(resp, UNI_STATUS, &u->u.hdr.cref);
479 MK_IE_CALLSTATE(resp->u.status.callstate, UNI_CALLSTATE_U0);
480 MK_IE_CAUSE(resp->u.status.cause, UNI_CAUSE_LOC_USER,
485 resp->u.status.epref = u->u.status_enq.epref;
486 MK_IE_EPREF(resp->u.status.epref,
489 MK_IE_EPSTATE(resp->u.status.epstate, UNI_EPSTATE_NULL);
492 (void)uni_send_output(resp, uni);
494 UNI_FREE(resp);
515 if ((resp = UNI_ALLOC()) == NULL)
518 MK_MSG_RESP(resp, UNI_RELEASE_COMPL, &u->u.hdr.cref);
519 MK_IE_CAUSE(resp->u.release_compl.cause[0], UNI_CAUSE_LOC_USER, cause);
521 ADD_CAUSE_MTYPE(resp->u.release_compl.cause[0], u->mtype);
523 (void)uni_send_output(resp, uni);
525 UNI_FREE(resp);
1111 struct uni_all *resp;
1113 if ((resp = UNI_ALLOC()) == NULL)
1116 MK_MSG_RESP(resp, UNI_STATUS, cref);
1117 MK_IE_CALLSTATE(resp->u.status.callstate, cs);
1118 MK_IE_CAUSE(resp->u.status.cause, UNI_CAUSE_LOC_USER, c1);
1120 (void)uni_send_output(resp, uni);
1122 UNI_FREE(resp);
1132 struct uni_all *resp;
1134 if((resp = UNI_ALLOC()) == NULL)
1137 MK_MSG_RESP(resp, UNI_STATUS, cref);
1138 MK_IE_CALLSTATE(resp->u.status.callstate, cs);
1139 MK_IE_CAUSE(resp->u.status.cause, UNI_CAUSE_LOC_USER, c1);
1140 ADD_CAUSE_MTYPE(resp->u.status.cause, mtype);
1142 (void)uni_send_output(resp, uni);
1144 UNI_FREE(resp);