Lines Matching refs:unitdata
51 _tx_sndudata(int fd, const struct t_unitdata *unitdata, int api_semantics)
82 if (((int)unitdata->udata.len == 0) &&
90 (unitdata->udata.len > (uint32_t)tiptr->ti_maxpsz)) {
117 udreq->DEST_length = unitdata->addr.len;
119 udreq->OPT_length = unitdata->opt.len;
123 if (unitdata->addr.len) {
124 if (_t_aligned_copy(&ctlbuf, unitdata->addr.len, size,
125 unitdata->addr.buf, &udreq->DEST_offset) < 0) {
137 if (unitdata->opt.len) {
138 if (_t_aligned_copy(&ctlbuf, unitdata->opt.len, size,
139 unitdata->opt.buf, &udreq->OPT_offset) < 0) {
169 if (putmsg(fd, &ctlbuf, (struct strbuf *)&unitdata->udata, 0) < 0) {