Lines Matching full:ctl
43 struct strbuf ctl; in dlinforeq() local
48 ctl.maxlen = 0; in dlinforeq()
49 ctl.len = sizeof (info_req); in dlinforeq()
50 ctl.buf = (char *) &info_req; in dlinforeq()
54 if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0) in dlinforeq()
62 struct strbuf ctl; in dlinfoack() local
65 ctl.maxlen = MAXDLBUF; in dlinfoack()
66 ctl.len = 0; in dlinfoack()
67 ctl.buf = bufp; in dlinfoack()
69 strgetmsg(fd, &ctl, (struct strbuf*)NULL, &flags, "dlinfoack"); in dlinfoack()
71 dlp = (union DL_primitives *) ctl.buf; in dlinfoack()
75 if (ctl.len < sizeof (dl_info_ack_t)) in dlinfoack()
76 err("dlinfoack: response ctl.len too short: %d", ctl.len); in dlinfoack()
81 if (ctl.len < sizeof (dl_info_ack_t)) in dlinfoack()
82 err("dlinfoack: short response ctl.len: %d", ctl.len); in dlinfoack()
89 struct strbuf ctl; in dlattachreq() local
95 ctl.maxlen = 0; in dlattachreq()
96 ctl.len = sizeof (attach_req); in dlattachreq()
97 ctl.buf = (char *) &attach_req; in dlattachreq()
101 if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0) in dlattachreq()
110 struct strbuf ctl; in dlenabmultireq() local
121 ctl.maxlen = 0; in dlenabmultireq()
122 ctl.len = sizeof (dl_enabmulti_req_t) + length; in dlenabmultireq()
123 ctl.buf = (char*) buf; in dlenabmultireq()
127 if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0) in dlenabmultireq()
136 struct strbuf ctl; in dldisabmultireq() local
147 ctl.maxlen = 0; in dldisabmultireq()
148 ctl.len = sizeof (dl_disabmulti_req_t) + length; in dldisabmultireq()
149 ctl.buf = (char*) buf; in dldisabmultireq()
153 if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0) in dldisabmultireq()
161 struct strbuf ctl; in dlpromisconreq() local
167 ctl.maxlen = 0; in dlpromisconreq()
168 ctl.len = sizeof (promiscon_req); in dlpromisconreq()
169 ctl.buf = (char *) &promiscon_req; in dlpromisconreq()
173 if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0) in dlpromisconreq()
182 struct strbuf ctl; in dlpromiscoff() local
188 ctl.maxlen = 0; in dlpromiscoff()
189 ctl.len = sizeof (promiscoff_req); in dlpromiscoff()
190 ctl.buf = (char *) &promiscoff_req; in dlpromiscoff()
194 if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0) in dlpromiscoff()
202 struct strbuf ctl; in dlphysaddrreq() local
208 ctl.maxlen = 0; in dlphysaddrreq()
209 ctl.len = sizeof (phys_addr_req); in dlphysaddrreq()
210 ctl.buf = (char *) &phys_addr_req; in dlphysaddrreq()
214 if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0) in dlphysaddrreq()
223 struct strbuf ctl; in dlsetphysaddrreq() local
234 ctl.maxlen = 0; in dlsetphysaddrreq()
235 ctl.len = sizeof (dl_set_phys_addr_req_t) + length; in dlsetphysaddrreq()
236 ctl.buf = (char*) buf; in dlsetphysaddrreq()
240 if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0) in dlsetphysaddrreq()
248 struct strbuf ctl; in dldetachreq() local
253 ctl.maxlen = 0; in dldetachreq()
254 ctl.len = sizeof (detach_req); in dldetachreq()
255 ctl.buf = (char *) &detach_req; in dldetachreq()
259 if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0) in dldetachreq()
268 struct strbuf ctl; in dlbindreq() local
278 ctl.maxlen = 0; in dlbindreq()
279 ctl.len = sizeof (bind_req); in dlbindreq()
280 ctl.buf = (char *) &bind_req; in dlbindreq()
284 if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0) in dlbindreq()
294 struct strbuf data, ctl; in dlunitdatareq() local
306 ctl.maxlen = 0; in dlunitdatareq()
307 ctl.len = sizeof (dl_unitdata_req_t) + addrlen; in dlunitdatareq()
308 ctl.buf = (char *) buf; in dlunitdatareq()
314 if (putmsg(fd, &ctl, &data, 0) < 0) in dlunitdatareq()
322 struct strbuf ctl; in dlunbindreq() local
327 ctl.maxlen = 0; in dlunbindreq()
328 ctl.len = sizeof (unbind_req); in dlunbindreq()
329 ctl.buf = (char *) &unbind_req; in dlunbindreq()
333 if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0) in dlunbindreq()
341 struct strbuf ctl; in dlokack() local
344 ctl.maxlen = MAXDLBUF; in dlokack()
345 ctl.len = 0; in dlokack()
346 ctl.buf = bufp; in dlokack()
348 strgetmsg(fd, &ctl, (struct strbuf*)NULL, &flags, "dlokack"); in dlokack()
350 dlp = (union DL_primitives *) ctl.buf; in dlokack()
354 if (ctl.len < sizeof (dl_ok_ack_t)) in dlokack()
355 err("dlokack: response ctl.len too short: %d", ctl.len); in dlokack()
360 if (ctl.len < sizeof (dl_ok_ack_t)) in dlokack()
361 err("dlokack: short response ctl.len: %d", ctl.len); in dlokack()
368 struct strbuf ctl; in dlerrorack() local
371 ctl.maxlen = MAXDLBUF; in dlerrorack()
372 ctl.len = 0; in dlerrorack()
373 ctl.buf = bufp; in dlerrorack()
375 strgetmsg(fd, &ctl, (struct strbuf*)NULL, &flags, "dlerrorack"); in dlerrorack()
377 dlp = (union DL_primitives *) ctl.buf; in dlerrorack()
381 if (ctl.len < sizeof (dl_error_ack_t)) in dlerrorack()
382 err("dlerrorack: response ctl.len too short: %d", ctl.len); in dlerrorack()
387 if (ctl.len < sizeof (dl_error_ack_t)) in dlerrorack()
388 err("dlerrorack: short response ctl.len: %d", ctl.len); in dlerrorack()
395 struct strbuf ctl; in dlbindack() local
398 ctl.maxlen = MAXDLBUF; in dlbindack()
399 ctl.len = 0; in dlbindack()
400 ctl.buf = bufp; in dlbindack()
402 strgetmsg(fd, &ctl, (struct strbuf*)NULL, &flags, "dlbindack"); in dlbindack()
404 dlp = (union DL_primitives *) ctl.buf; in dlbindack()
411 if (ctl.len < sizeof (dl_bind_ack_t)) in dlbindack()
412 err("dlbindack: short response ctl.len: %d", ctl.len); in dlbindack()
419 struct strbuf ctl; in dlphysaddrack() local
422 ctl.maxlen = MAXDLBUF; in dlphysaddrack()
423 ctl.len = 0; in dlphysaddrack()
424 ctl.buf = bufp; in dlphysaddrack()
426 strgetmsg(fd, &ctl, (struct strbuf*)NULL, &flags, "dlphysaddrack"); in dlphysaddrack()
428 dlp = (union DL_primitives *) ctl.buf; in dlphysaddrack()
435 if (ctl.len < sizeof (dl_phys_addr_ack_t)) in dlphysaddrack()
436 err("dlphysaddrack: short response ctl.len: %d", ctl.len); in dlphysaddrack()