Searched refs:unitdata (Results 1 - 6 of 6) sorted by relevance

/osnet-11/usr/src/lib/libnsl/nsl/
H A Dt_rcvudata.c55 struct t_unitdata *unitdata,
120 if ((retval = getmsg(fd, &ctlbuf, (struct strbuf *)&unitdata->udata,
133 if (((struct strbuf *)&unitdata->udata)->len == -1)
134 unitdata->udata.len = 0;
141 unitdata->udata.len = 0;
159 unitdata->udata.len = 0;
165 unitdata->addr.maxlen > 0) {
167 unitdata->addr.maxlen)) {
169 unitdata->udata.len = 0;
172 (void) memcpy(unitdata
53 _tx_rcvudata( int fd, struct t_unitdata *unitdata, int *flags, int api_semantics ) argument
[all...]
H A Dt_sndudata.c51 _tx_sndudata(int fd, const struct t_unitdata *unitdata, int api_semantics) argument
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
[all...]
H A Dt_sndvudata.c49 _tx_sndvudata(int fd, const struct t_unitdata *unitdata, struct t_iovec *tiov, argument
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) {
H A Dxti_wrappers.c178 _xti_rcvudata(int fd, struct t_unitdata *unitdata, int *flags) argument
180 return (_tx_rcvudata(fd, unitdata, flags, TX_XTI_API));
196 _xti_rcvvudata(int fd, struct t_unitdata *unitdata, struct t_iovec *tiov, argument
199 return (_tx_rcvvudata(fd, unitdata, tiov, tiovcount, flags,
235 _xti_sndudata(int fd, const struct t_unitdata *unitdata) argument
237 return (_tx_sndudata(fd, unitdata, TX_XTI_API));
247 _xti_sndvudata(int fd, struct t_unitdata *unitdata, struct t_iovec *tiov, argument
250 return (_tx_sndvudata(fd, unitdata, tiov, tiovcount, TX_XTI_XNS5_API));
H A Dt_rcvvudata.c53 struct t_unitdata *unitdata,
172 if (unitdata->addr.maxlen > 0) {
174 unitdata->addr.maxlen)) {
178 (void) memcpy(unitdata->addr.buf,
181 unitdata->addr.len =
184 if (unitdata->opt.maxlen > 0) {
186 unitdata->opt.maxlen)) {
190 (void) memcpy(unitdata->opt.buf, ctlbuf.buf +
193 unitdata->opt.len =
234 unitdata
51 _tx_rcvvudata( int fd, struct t_unitdata *unitdata, struct t_iovec *tiov, unsigned int tiovcount, int *flags, int api_semantics ) argument
[all...]
H A Dtli_wrappers.c153 t_rcvudata(int fd, struct t_unitdata *unitdata, int *flags) argument
155 return (_tx_rcvudata(fd, unitdata, flags, TX_TLI_API));
183 t_sndudata(int fd, const struct t_unitdata *unitdata) argument
185 return (_tx_sndudata(fd, unitdata, TX_TLI_API));

Completed in 35 milliseconds