Lines Matching defs:control_fd
70 int control_fd;
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_REMLINK,
454 retv = read(control_fd, &bc, sizeof (bc));
471 if (strioctl(control_fd, BRIOC_SETSTATE, &bss,
538 if (strioctl(control_fd, BRIOC_SETSTATE, &bss,
584 if (strioctl(control_fd, BRIOC_SETSTATE, &bss, sizeof (bss)) == -1)