Lines Matching defs:fd
119 int fd; /* File descriptor */
153 * initialization: create a fd, a broadcast address, and send the
174 int fd;
181 if ((fd = t_open(nconf->nc_device, O_RDWR, &tinfo)) == -1) {
185 __rpc_set_mac_options(fd, nconf, prog);
186 if (t_bind(fd, NULL, NULL) == -1) {
187 (void) t_close(fd);
193 if (netdir_options(nconf, ND_SET_BROADCAST, fd, NULL)) {
194 (void) t_close(fd);
198 fdlist[fdlistno].fd = fd;
203 (void) t_close(fd);
211 pfd[fdlistno].fd = fdlist[fdlistno].fd = fd;
216 (void) t_close(fd);
229 (void) t_close(fd);
352 if (t_sndudata(fdlist[i].fd,
392 if (t_sndudata(fdlist[i].fd,
416 if (t_sndudata(fdlist[i].fd,
472 * it simply by using a negative fd. We do that
476 pfd[i].fd = -1;
489 if (t_rcvudata(fdlist[i].fd, &t_rdata, &flag) == -1) {
501 t_look(fdlist[i].fd) == T_UDERR &&
502 t_rcvuderr(fdlist[i].fd, NULL) == 0)
615 (void) t_close(fdlist[i].fd);