Lines Matching defs:il_sd
79 int il_sd;
183 return (send(ilp->il_sd, data, dlen, 0));
196 FD_SET(ilp->il_sd, &read_set);
199 FD_SET(ilp->il_sd, &err_set);
204 ret = select(ilp->il_sd + 1, &read_set, NULL, &err_set, &tmout);
205 if (ret < 0 || FD_ISSET(ilp->il_sd, &err_set) ||
206 !FD_ISSET(ilp->il_sd, &read_set))
220 ret = recv(ilp->il_sd, &rsp.ir_data, IPMI_BUF_SIZE, 0);
224 FD_SET(ilp->il_sd, &read_set);
227 FD_SET(ilp->il_sd, &err_set);
232 ret = select(ilp->il_sd + 1, &read_set, NULL, &err_set, &tmout);
234 if (FD_ISSET(ilp->il_sd, &err_set) ||
235 !FD_ISSET(ilp->il_sd, &read_set))
238 ret = recv(ilp->il_sd, &rsp.ir_data, IPMI_BUF_SIZE, 0);
796 if (ilp->il_sd >= 0)
797 (void) close(ilp->il_sd);
879 if ((ilp->il_sd = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP)) < 0) {
884 if (connect(ilp->il_sd, (struct sockaddr *)&ilp->il_addr,