Lines Matching defs:req
897 struct t_optmgmt req, resp;
909 req.flags = T_NEGOTIATE;
910 req.opt.len = sizeof (optdata);
911 req.opt.buf = (char *)&optdata;
917 if (t_optmgmt(fd, &req, &resp) < 0 || resp.flags != T_SUCCESS) {
940 struct t_optmgmt req, resp;
960 req.flags = T_NEGOTIATE;
961 req.opt.len = sizeof (struct opthdr) + opt->len;
962 req.opt.buf = (char *)opt;
968 if (t_optmgmt(fd, &req, &resp) < 0 || resp.flags != T_SUCCESS) {