Lines Matching defs:ctl
770 struct strbuf ctl;
776 ctl.maxlen = 0;
777 ctl.len = sizeof (promiscon_req);
778 ctl.buf = (char *) &promiscon_req;
782 if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0)
790 struct strbuf ctl;
795 ctl.maxlen = 0;
796 ctl.len = sizeof (info_req);
797 ctl.buf = (char *) &info_req;
801 if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0)
809 struct strbuf data, ctl;
821 ctl.maxlen = 0;
822 ctl.len = sizeof (dl_unitdata_req_t) + addrlen;
823 ctl.buf = (char *) buf;
829 if (putmsg(fd, &ctl, &data, 0) < 0)
836 struct strbuf ctl;
839 ctl.maxlen = MAXDLBUF;
840 ctl.len = 0;
841 ctl.buf = bufp;
843 strgetmsg(fd, &ctl, (struct strbuf*)NULL, &flags, "dlinfoack");
845 dlp = (union DL_primitives *) ctl.buf;
849 if (ctl.len < sizeof (dl_info_ack_t)) {
851 sprintf(buffer, "dlinfoack: response ctl.len too short: %d", ctl.len);
858 if (ctl.len < sizeof (dl_info_ack_t)) {
860 sprintf(buffer, "dlinfoack: short response ctl.len: %d", ctl.len);
868 struct strbuf ctl;
878 ctl.maxlen = 0;
879 ctl.len = sizeof (bind_req);
880 ctl.buf = (char *) &bind_req;
884 if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0)
891 struct strbuf ctl;
897 ctl.maxlen = 0;
898 ctl.len = sizeof (attach_req);
899 ctl.buf = (char *) &attach_req;
903 if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0)
910 struct strbuf ctl;
913 ctl.maxlen = MAXDLBUF;
914 ctl.len = 0;
915 ctl.buf = bufp;
917 strgetmsg(fd, &ctl, (struct strbuf*)NULL, &flags, "dlokack");
919 dlp = (union DL_primitives *) ctl.buf;
923 if (ctl.len < sizeof (dl_ok_ack_t)) {
925 sprintf(buffer, "dlokack: response ctl.len too short: %d", ctl.len);
932 if (ctl.len < sizeof (dl_ok_ack_t)) {
934 sprintf(buffer, "dlokack: short response ctl.len: %d", ctl.len);
942 struct strbuf ctl;
945 ctl.maxlen = MAXDLBUF;
946 ctl.len = 0;
947 ctl.buf = bufp;
949 strgetmsg(fd, &ctl, (struct strbuf*)NULL, &flags, "dlbindack");
951 dlp = (union DL_primitives *) ctl.buf;
958 if (ctl.len < sizeof (dl_bind_ack_t)) {
960 sprintf(buffer, "dlbindack: short response ctl.len: %d", ctl.len);