Searched refs:control_fd (Results 1 – 5 of 5) sorted by relevance
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/bridged/ |
H A D | events.c | 70 int control_fd; variable 86 if ((control_fd = open(BRIDGE_CTLPATH, O_RDWR | O_NONBLOCK)) == -1) { in open_bridge_control() 99 if (strioctl(control_fd, BRIOC_NEWBRIDGE, &bnb, sizeof (bnb)) == -1) { in open_bridge_control() 104 if (strioctl(control_fd, BRIOC_TABLEMAX, &tablemax, in open_bridge_control() 260 if (strioctl(control_fd, BRIOC_ADDLINK, &adddata, in update_port() 307 if (strioctl(control_fd, BRIOC_REMLINK, &port->linkid, in update_port() 378 if (strioctl(control_fd, BRIOC_TABLEMAX, &new_tablemax, in handle_refresh() 428 if (strioctl(control_fd, BRIOC_REMLINK, in handle_refresh() 454 retv = read(control_fd, &bc, sizeof (bc)); in handle_control() 471 if (strioctl(control_fd, BRIOC_SETSTATE, &bss, in handle_control() [all …]
|
H A D | main.c | 182 assert(control_fd != -1); in init_signalhandling() 183 fdarray[1].fd = control_fd; in init_signalhandling()
|
H A D | rstp.c | 92 if (strioctl(control_fd, BRIOC_FLUSHFWD, &bff, sizeof (bff)) == -1) { in flush_lt() 199 if (strioctl(control_fd, BRIOC_SETSTATE, &bss, sizeof (bss)) == -1) { in set_port_state() 511 if (strioctl(control_fd, BRIOC_SETSTATE, &bss, sizeof (bss)) == -1) { in rstp_add_port() 546 if (strioctl(control_fd, BRIOC_VLANENAB, &bve, sizeof (bve)) == -1) { in rstp_add_port()
|
H A D | global.h | 102 extern int control_fd;
|
/illumos-gate/usr/src/cmd/bart/ |
H A D | compare.c | 104 FILE *control_fd, *test_fd; in compare_manifests() local 115 control_fd = fopen(control, "r"); in compare_manifests() 116 if (control_fd == NULL) { in compare_manifests() 127 control_pos = read_manifest_line(control_fd, control_buf, in compare_manifests() 136 control_pos = read_manifest_line(control_fd, in compare_manifests() 160 control_pos = read_manifest_line(control_fd, in compare_manifests() 181 control_pos = read_manifest_line(control_fd, in compare_manifests() 198 control_pos = read_manifest_line(control_fd, control_buf, in compare_manifests() 217 (void) fclose(control_fd); in compare_manifests()
|