Lines Matching refs:units
81 static unit_t units[MAX_CHASSIS+1][MAX_GEOSLOT+1]; /* we use indexes of 1 through 8, but we reserv… variable
155 if (units[chassis][geoslot].ip != NULL) in dump_unit_table()
156 …printf("%d:%d %2d %s\n", chassis, geoslot, units[chassis][geoslot].fd, units[chassis][geoslot].ip); in dump_unit_table()
157 p = units[chassis][geoslot].iface; in dump_unit_table()
173 if (units[c][s].fd == fd || units[c][s].find_fd == fd) { in find_unit_by_fd()
176 if (unit_ptr) *unit_ptr = &units[c][s]; in find_unit_by_fd()
213 unit_t *u = &units[chassis][geoslot]; in empty_unit()
233 if (units[chassis][geoslot].ip != NULL) { in empty_unit_table()
234 … free(units[chassis][geoslot].ip); /* get rid of the malloc'ed space that holds the IP address */ in empty_unit_table()
235 units[chassis][geoslot].ip = 0; /* then set the pointer to NULL */ in empty_unit_table()
250 if (units[chassis][geoslot].ip != NULL) { in find_nth_interface_name()
251 p = units[chassis][geoslot].iface; in find_nth_interface_name()
307 u = &units[chassis][geoslot]; in acn_parse_hosts_file()
355 if (flag == LIVE) id = &units[chassis][geoslot].fd; in close_with_IOP()
356 else id = &units[chassis][geoslot].find_fd; in close_with_IOP()
383 if (units[chassis][geoslot].fd == fd) close_with_IOP(chassis, geoslot, LIVE); in send_to_fd()
384 else if (units[chassis][geoslot].find_fd == fd) close_with_IOP(chassis, geoslot, FIND); in send_to_fd()
580 u = &units[chassis][geoslot]; in process_client_data()
800 u = &units[chassis][geoslot]; in acn_findalldevs()
845 u = &units[chassis][geoslot]; in acn_open_live()