Lines Matching refs:ctl

49 	struct	strbuf	ctl;
54 ctl.maxlen = 0;
55 ctl.len = sizeof (info_req);
56 ctl.buf = (char *) &info_req;
60 if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0)
70 struct strbuf ctl;
73 ctl.maxlen = MAXDLBUF;
74 ctl.len = 0;
75 ctl.buf = bufp;
77 strgetmsg(fd, &ctl, (struct strbuf*)NULL, &flags, "dlinfoack");
79 dlp = (union DL_primitives *) ctl.buf;
83 if (ctl.len < sizeof (dl_info_ack_t))
84 err("dlinfoack: response ctl.len too short: %d", ctl.len);
89 if (ctl.len < sizeof (dl_info_ack_t))
90 err("dlinfoack: short response ctl.len: %d", ctl.len);
99 struct strbuf ctl;
105 ctl.maxlen = 0;
106 ctl.len = sizeof (attach_req);
107 ctl.buf = (char *) &attach_req;
111 if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0)
123 struct strbuf ctl;
134 ctl.maxlen = 0;
135 ctl.len = sizeof (dl_enabmulti_req_t) + length;
136 ctl.buf = (char*) buf;
140 if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0)
152 struct strbuf ctl;
163 ctl.maxlen = 0;
164 ctl.len = sizeof (dl_disabmulti_req_t) + length;
165 ctl.buf = (char*) buf;
169 if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0)
179 struct strbuf ctl;
185 ctl.maxlen = 0;
186 ctl.len = sizeof (promiscon_req);
187 ctl.buf = (char *) &promiscon_req;
191 if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0)
202 struct strbuf ctl;
208 ctl.maxlen = 0;
209 ctl.len = sizeof (promiscoff_req);
210 ctl.buf = (char *) &promiscoff_req;
214 if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0)
224 struct strbuf ctl;
230 ctl.maxlen = 0;
231 ctl.len = sizeof (phys_addr_req);
232 ctl.buf = (char *) &phys_addr_req;
236 if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0)
248 struct strbuf ctl;
259 ctl.maxlen = 0;
260 ctl.len = sizeof (dl_set_phys_addr_req_t) + length;
261 ctl.buf = (char*) buf;
265 if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0)
274 struct strbuf ctl;
279 ctl.maxlen = 0;
280 ctl.len = sizeof (detach_req);
281 ctl.buf = (char *) &detach_req;
285 if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0)
299 struct strbuf ctl;
309 ctl.maxlen = 0;
310 ctl.len = sizeof (bind_req);
311 ctl.buf = (char *) &bind_req;
315 if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0)
330 struct strbuf data, ctl;
342 ctl.maxlen = 0;
343 ctl.len = sizeof (dl_unitdata_req_t) + addrlen;
344 ctl.buf = (char *) buf;
350 if (putmsg(fd, &ctl, &data, 0) < 0)
359 struct strbuf ctl;
364 ctl.maxlen = 0;
365 ctl.len = sizeof (unbind_req);
366 ctl.buf = (char *) &unbind_req;
370 if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0)
380 struct strbuf ctl;
383 ctl.maxlen = MAXDLBUF;
384 ctl.len = 0;
385 ctl.buf = bufp;
387 strgetmsg(fd, &ctl, (struct strbuf*)NULL, &flags, "dlokack");
389 dlp = (union DL_primitives *) ctl.buf;
393 if (ctl.len < sizeof (dl_ok_ack_t))
394 err("dlokack: response ctl.len too short: %d", ctl.len);
399 if (ctl.len < sizeof (dl_ok_ack_t))
400 err("dlokack: short response ctl.len: %d", ctl.len);
409 struct strbuf ctl;
412 ctl.maxlen = MAXDLBUF;
413 ctl.len = 0;
414 ctl.buf = bufp;
416 strgetmsg(fd, &ctl, (struct strbuf*)NULL, &flags, "dlerrorack");
418 dlp = (union DL_primitives *) ctl.buf;
422 if (ctl.len < sizeof (dl_error_ack_t))
423 err("dlerrorack: response ctl.len too short: %d", ctl.len);
428 if (ctl.len < sizeof (dl_error_ack_t))
429 err("dlerrorack: short response ctl.len: %d", ctl.len);
438 struct strbuf ctl;
441 ctl.maxlen = MAXDLBUF;
442 ctl.len = 0;
443 ctl.buf = bufp;
445 strgetmsg(fd, &ctl, (struct strbuf*)NULL, &flags, "dlbindack");
447 dlp = (union DL_primitives *) ctl.buf;
454 if (ctl.len < sizeof (dl_bind_ack_t))
455 err("dlbindack: short response ctl.len: %d", ctl.len);
464 struct strbuf ctl;
467 ctl.maxlen = MAXDLBUF;
468 ctl.len = 0;
469 ctl.buf = bufp;
471 strgetmsg(fd, &ctl, (struct strbuf*)NULL, &flags, "dlphysaddrack");
473 dlp = (union DL_primitives *) ctl.buf;
480 if (ctl.len < sizeof (dl_phys_addr_ack_t))
481 err("dlphysaddrack: short response ctl.len: %d", ctl.len);