Lines Matching defs:prim
1726 union T_primitives *prim = (union T_primitives *)mp->b_rptr;
1776 if (msz < sizeof (prim->type)) {
1783 switch (prim->type) {
1847 if (msz < sizeof (prim->type)) {
1854 switch (prim->type) {
2119 union T_primitives *prim = (union T_primitives *)mp->b_rptr;
2122 ASSERT(msz >= sizeof (prim->type));
2124 switch (prim->type) {
2738 union T_primitives *prim;
2742 prim = (union T_primitives *)mp->b_rptr;
2754 tl_error_ack(wq, mp, TSYSERR, EINVAL, prim->type);
2760 prim->type == T_SVR4_OPTMGMT_REQ) {
2787 if (prim->type == T_SVR4_OPTMGMT_REQ) {
2790 ASSERT(prim->type == T_OPTMGMT_REQ);
3330 t_scalar_t prim = cres->PRIM_type;
3368 ASSERT(prim == T_CONN_RES || prim == O_T_CONN_RES);
3378 tl_error_ack(wq, ackmp, TOUTSTATE, 0, prim);
3391 tl_error_ack(wq, ackmp, TSYSERR, EINVAL, prim);
3400 tl_error_ack(wq, ackmp, TSYSERR, EINVAL, prim);
3411 tl_error_ack(wq, ackmp, TBADOPT, 0, prim);
3424 tl_error_ack(wq, ackmp, TBADSEQ, 0, prim);
3438 tl_error_ack(wq, ackmp, TBADF, 0, prim);
3450 tl_error_ack(wq, ackmp, TBADF, 0, prim);
3468 tl_error_ack(wq, ackmp, TOUTSTATE, 0, prim);
3484 tl_error_ack(wq, ackmp, TBADF, 0, prim);
3502 tl_error_ack(wq, ackmp, TBADSEQ, 0, prim);
3629 tl_ok_ack(wq, ackmp, prim);
3682 tl_ok_ack(wq, ackmp, prim);
3716 tl_ok_ack(wq, ackmp, prim);
3808 tl_ok_ack(wq, ackmp, prim);
4414 union T_primitives *prim = (union T_primitives *)mp->b_rptr;
4445 if (prim->type == T_DATA_REQ &&
4456 } else if (prim->type == T_OPTDATA_REQ &&
4518 if (prim->type == T_DATA_REQ)
4519 prim->type = T_DATA_IND;
4521 prim->type = T_OPTDATA_IND;
4594 if (prim->type == T_DATA_REQ)
4595 prim->type = T_DATA_IND;
4597 prim->type = T_OPTDATA_IND;
4615 union T_primitives *prim = (union T_primitives *)mp->b_rptr;
4688 prim->type = T_EXDATA_IND;
4765 prim->type = T_EXDATA_IND;
4779 union T_primitives *prim = (union T_primitives *)mp->b_rptr;
4827 prim->type = T_ORDREL_IND;
4887 prim->type = T_ORDREL_IND;
5781 int prim, nprim;
5800 prim = ((union T_primitives *)mp->b_rptr)->type;
5802 prim = -1; /* M_DATA */
5807 if (prim == T_DISCON_IND) {
5814 if (prim == T_ORDREL_IND && nprim != T_DISCON_IND) {
5825 * Use prim -1 for M_DATA.
5829 tl_icon_hasprim(tl_endpt_t *tep, t_scalar_t seqno, t_scalar_t prim)
5838 ((union T_primitives *)mp->b_rptr)->type == prim);