Lines Matching refs:ctl
836 struct strbuf ctl; local
841 ctl.maxlen = 0;
842 ctl.len = sizeof (info_req);
843 ctl.buf = (char *)&info_req;
847 return putmsg (fd, &ctl, (struct strbuf *)NULL, flags);
858 struct strbuf ctl; local
864 ctl.maxlen = 0;
865 ctl.len = sizeof (physaddr_req);
866 ctl.buf = (char *)&physaddr_req;
870 return putmsg (fd, &ctl, (struct strbuf *)NULL, flags);
881 struct strbuf ctl; local
887 ctl.maxlen = 0;
888 ctl.len = sizeof (attach_req);
889 ctl.buf = (char *)&attach_req;
893 return putmsg (fd, &ctl, (struct strbuf*)NULL, flags);
908 struct strbuf ctl; local
918 ctl.maxlen = 0;
919 ctl.len = sizeof (bind_req);
920 ctl.buf = (char *)&bind_req;
924 return putmsg (fd, &ctl, (struct strbuf*)NULL, flags);
937 struct strbuf ctl; local
942 ctl.maxlen = 0;
943 ctl.len = sizeof (unbind_req);
944 ctl.buf = (char *)&unbind_req;
948 return putmsg (fd, &ctl, (struct strbuf*)NULL, flags);
961 struct strbuf ctl; local
966 ctl.maxlen = 0;
967 ctl.len = sizeof (detach_req);
968 ctl.buf = (char *)&detach_req;
972 return putmsg (fd, &ctl, (struct strbuf*)NULL, flags);
985 struct strbuf ctl; local
988 ctl.maxlen = DLPI_MAXDLBUF;
989 ctl.len = 0;
990 ctl.buf = bufp;
992 if (strgetmsg (fd, &ctl,
997 dlp = (union DL_primitives *)ctl.buf;
1003 if (ctl.len < sizeof (dl_bind_ack_t)) {
1019 struct strbuf ctl; local
1022 ctl.maxlen = DLPI_MAXDLBUF;
1023 ctl.len = 0;
1024 ctl.buf = bufp;
1026 if (strgetmsg (fd, &ctl,
1031 dlp = (union DL_primitives *)ctl.buf;
1037 if (ctl.len < sizeof (dl_ok_ack_t)) {
1053 struct strbuf ctl; local
1056 ctl.maxlen = DLPI_MAXDLBUF;
1057 ctl.len = 0;
1058 ctl.buf = bufp;
1060 if (strgetmsg (fd, &ctl, (struct strbuf *)NULL, &flags,
1065 dlp = (union DL_primitives *) ctl.buf;
1071 if (ctl.len < sizeof (dl_info_ack_t)) {
1087 struct strbuf ctl; local
1090 ctl.maxlen = DLPI_MAXDLBUF;
1091 ctl.len = 0;
1092 ctl.buf = bufp;
1094 if (strgetmsg (fd, &ctl, (struct strbuf *)NULL, &flags,
1099 dlp = (union DL_primitives *)ctl.buf;
1105 if (ctl.len < sizeof (dl_phys_addr_ack_t)) {
1125 struct strbuf ctl, data; local
1139 ctl.maxlen = 0;
1140 ctl.len = dlp -> unitdata_req.dl_dest_addr_offset + addrlen;
1141 ctl.buf = (char *)buf;
1148 return putmsg (fd, &ctl, &data, 0);
1164 struct strbuf ctl, data; local
1172 ctl.maxlen = DLPI_MAXDLBUF;
1173 ctl.len = 0;
1174 ctl.buf = (char *)buf;
1180 result = getmsg (fd, &ctl, &data, &flags);
1187 if (ctl.len < sizeof (dl_unitdata_ind_t) ||