/src/usr.sbin/altq/libaltq/ |
qop_red.c | 60 static int red_fd = -1; variable in typeref:typename:int 233 if (red_fd < 0 && 234 (red_fd = open(RED_DEVICE, O_RDWR)) < 0 && 235 (red_fd = open_module(RED_DEVICE, O_RDWR)) < 0) { 244 if (ioctl(red_fd, RED_IF_ATTACH, &iface) < 0) 257 if (ioctl(red_fd, RED_CONFIG, &conf) < 0) 274 if (ioctl(red_fd, RED_IF_DETACH, &iface) < 0) 278 close(red_fd); 279 red_fd = -1; 292 if (ioctl(red_fd, RED_ENABLE, &iface) < 0 [all...] |
qop_red.c | 60 static int red_fd = -1; variable in typeref:typename:int 233 if (red_fd < 0 && 234 (red_fd = open(RED_DEVICE, O_RDWR)) < 0 && 235 (red_fd = open_module(RED_DEVICE, O_RDWR)) < 0) { 244 if (ioctl(red_fd, RED_IF_ATTACH, &iface) < 0) 257 if (ioctl(red_fd, RED_CONFIG, &conf) < 0) 274 if (ioctl(red_fd, RED_IF_DETACH, &iface) < 0) 278 close(red_fd); 279 red_fd = -1; 292 if (ioctl(red_fd, RED_ENABLE, &iface) < 0 [all...] |