Searched refs:control_fd (Results 1 – 5 of 5) sorted by relevance
/titanic_44/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() 162 if (strioctl(control_fd, BRIOC_VLANENAB, &bve, sizeof (bve)) == -1) { in set_vlan() 260 if (strioctl(control_fd, BRIOC_ADDLINK, &adddata, in update_port() 283 if (strioctl(control_fd, BRIOC_SETPVID, &bsv, sizeof (bsv)) == -1) { 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() [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;
|
/titanic_44/usr/src/cmd/bart/ |
H A D | compare.c | 105 FILE *control_fd, *test_fd; in compare_manifests() local 116 control_fd = fopen(control, "r"); in compare_manifests() 117 if (control_fd == NULL) { in compare_manifests() 128 control_pos = read_manifest_line(control_fd, control_buf, in compare_manifests() 137 control_pos = read_manifest_line(control_fd, in compare_manifests() 161 control_pos = read_manifest_line(control_fd, in compare_manifests() 182 control_pos = read_manifest_line(control_fd, in compare_manifests() 199 control_pos = read_manifest_line(control_fd, control_buf, in compare_manifests() 218 (void) fclose(control_fd); in compare_manifests()
|