Searched defs:control_fd (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/bridged/
H A Devents.c70 int control_fd; variable
86 if ((control_fd = open(BRIDGE_CTLPATH, O_RDWR | O_NONBLOCK)) == -1) {
99 if (strioctl(control_fd, BRIOC_NEWBRIDGE, &bnb, sizeof (bnb)) == -1) {
104 if (strioctl(control_fd, BRIOC_TABLEMAX, &tablemax,
162 if (strioctl(control_fd, BRIOC_VLANENAB, &bve, sizeof (bve)) == -1) {
260 if (strioctl(control_fd, BRIOC_ADDLINK, &adddata,
283 if (strioctl(control_fd, BRIOC_SETPVID, &bsv, sizeof (bsv)) == -1) {
307 if (strioctl(control_fd, BRIOC_REMLINK, &port->linkid,
378 if (strioctl(control_fd, BRIOC_TABLEMAX, &new_tablemax,
428 if (strioctl(control_fd, BRIOC_REMLIN
[all...]
/illumos-gate/usr/src/cmd/bart/
H A Dcompare.c105 FILE *control_fd, *test_fd; local
116 control_fd = fopen(control, "r");
117 if (control_fd == NULL) {
128 control_pos = read_manifest_line(control_fd, control_buf,
137 control_pos = read_manifest_line(control_fd,
161 control_pos = read_manifest_line(control_fd,
182 control_pos = read_manifest_line(control_fd,
199 control_pos = read_manifest_line(control_fd, control_buf,
218 (void) fclose(control_fd);

Completed in 49 milliseconds