Lines Matching refs:ctl

797 	struct strbuf ctl;
802 ctl.maxlen = 0;
803 ctl.len = sizeof (info_req);
804 ctl.buf = (char *)&info_req;
808 return putmsg (fd, &ctl, (struct strbuf *)NULL, flags);
819 struct strbuf ctl;
825 ctl.maxlen = 0;
826 ctl.len = sizeof (physaddr_req);
827 ctl.buf = (char *)&physaddr_req;
831 return putmsg (fd, &ctl, (struct strbuf *)NULL, flags);
842 struct strbuf ctl;
848 ctl.maxlen = 0;
849 ctl.len = sizeof (attach_req);
850 ctl.buf = (char *)&attach_req;
854 return putmsg (fd, &ctl, (struct strbuf*)NULL, flags);
869 struct strbuf ctl;
879 ctl.maxlen = 0;
880 ctl.len = sizeof (bind_req);
881 ctl.buf = (char *)&bind_req;
885 return putmsg (fd, &ctl, (struct strbuf*)NULL, flags);
895 struct strbuf ctl;
900 ctl.maxlen = 0;
901 ctl.len = sizeof (unbind_req);
902 ctl.buf = (char *)&unbind_req;
906 return putmsg (fd, &ctl, (struct strbuf*)NULL, flags);
917 struct strbuf ctl;
922 ctl.maxlen = 0;
923 ctl.len = sizeof (detach_req);
924 ctl.buf = (char *)&detach_req;
928 return putmsg (fd, &ctl, (struct strbuf*)NULL, flags);
940 struct strbuf ctl;
943 ctl.maxlen = DLPI_MAXDLBUF;
944 ctl.len = 0;
945 ctl.buf = bufp;
947 if (strgetmsg (fd, &ctl,
952 dlp = (union DL_primitives *)ctl.buf;
958 if (ctl.len < sizeof (dl_bind_ack_t)) {
974 struct strbuf ctl;
977 ctl.maxlen = DLPI_MAXDLBUF;
978 ctl.len = 0;
979 ctl.buf = bufp;
981 if (strgetmsg (fd, &ctl,
986 dlp = (union DL_primitives *)ctl.buf;
992 if (ctl.len < sizeof (dl_ok_ack_t)) {
1008 struct strbuf ctl;
1011 ctl.maxlen = DLPI_MAXDLBUF;
1012 ctl.len = 0;
1013 ctl.buf = bufp;
1015 if (strgetmsg (fd, &ctl, (struct strbuf *)NULL, &flags,
1020 dlp = (union DL_primitives *) ctl.buf;
1026 if (ctl.len < sizeof (dl_info_ack_t)) {
1042 struct strbuf ctl;
1045 ctl.maxlen = DLPI_MAXDLBUF;
1046 ctl.len = 0;
1047 ctl.buf = bufp;
1049 if (strgetmsg (fd, &ctl, (struct strbuf *)NULL, &flags,
1054 dlp = (union DL_primitives *)ctl.buf;
1060 if (ctl.len < sizeof (dl_phys_addr_ack_t)) {
1079 struct strbuf ctl, data;
1093 ctl.maxlen = 0;
1094 ctl.len = dlp -> unitdata_req.dl_dest_addr_offset + addrlen;
1095 ctl.buf = (char *)buf;
1102 return putmsg (fd, &ctl, &data, 0);
1118 struct strbuf ctl, data;
1126 ctl.maxlen = DLPI_MAXDLBUF;
1127 ctl.len = 0;
1128 ctl.buf = (char *)buf;
1134 result = getmsg (fd, &ctl, &data, &flags);
1140 if (ctl.len < sizeof (dl_unitdata_ind_t) ||