Lines Matching refs:udreq
53 struct T_unitdata_req *udreq;
114 udreq = (struct T_unitdata_req *)ctlbuf.buf;
116 udreq->PRIM_type = T_UNITDATA_REQ;
117 udreq->DEST_length = unitdata->addr.len;
118 udreq->DEST_offset = 0;
119 udreq->OPT_length = unitdata->opt.len;
120 udreq->OPT_offset = 0;
125 unitdata->addr.buf, &udreq->DEST_offset) < 0) {
135 size = udreq->DEST_offset + udreq->DEST_length;
139 unitdata->opt.buf, &udreq->OPT_offset) < 0) {
149 size = udreq->OPT_offset + udreq->OPT_length;