Lines Matching refs:fdCxn
103 irp->fdCxn = -1;
166 if (pvt->fdCxn != -1) {
210 pvt->fdCxn = socket(addr->sa_family, SOCK_STREAM, PF_UNSPEC);
211 if (pvt->fdCxn < 0) {
216 if (connect(pvt->fdCxn, addr, socklen) != 0) {
221 flags = fcntl(pvt->fdCxn, F_GETFL, 0);
223 close(pvt->fdCxn);
230 if (fcntl(pvt->fdCxn, F_SETFL, flags) < 0) {
231 close(pvt->fdCxn);
260 return (pvt->fdCxn >= 0);
272 if (pvt->fdCxn != -1) {
273 close(pvt->fdCxn);
274 pvt->fdCxn = -1;
311 i = read(pvt->fdCxn, end, spare);
313 close(pvt->fdCxn);
314 pvt->fdCxn = -1;
528 if (pvt->fdCxn < 0) {
544 i = write(pvt->fdCxn, buffer + pos, todo);
552 close(pvt->fdCxn);
553 pvt->fdCxn = -1;