Lines Matching refs:ioctl
61 static ioctlfunc_t iocfunctions[IPL_LOGSIZE] = { ioctl, ioctl, ioctl,
62 ioctl, ioctl, ioctl,
63 ioctl, ioctl };
155 ipf_dotuning(fd, optarg, ioctl);
228 (ioctl(fd, SIOCGETFF, &i) == -1)) { in get_flags()
240 if (ioctl(fd, SIOCFRENB, &enable) == -1) {
319 (ioctl(fd, SIOCSETFF, &flag) != 0))
339 if (ioctl(xfd, SIOCGETLG, &logopt))
343 if (ioctl(xfd, SIOCSETLG, &logopt))
361 if (ioctl(xfd, SIOCGETLG, &logopt))
365 if (ioctl(xfd, SIOCSETLG, &logopt))
394 if (ioctl(fd, SIOCIPFL6, &fl) == -1) {
399 if (ioctl(fd, SIOCIPFFL, &fl) == -1) {
422 if (ioctl(fd, SIOCIPFFA, &fl) == -1)
445 if (ioctl(fd, SIOCIPFL6, &fl) == -1) {
450 if (ioctl(fd, SIOCIPFFL, &fl) == -1) {
470 if (opendevice(ipfname, 1) != -2 && ioctl(fd, SIOCSWAPA, &in) == -1) in swapactive()
481 if (opendevice(ipfname, 1) != -2 && ioctl(fd, SIOCFRSYN, &frsyn) == -1) in ipf_frsync()
494 if (ioctl(fd, SIOCFRZST, &fiop) == -1) { in zerostats()
556 if (ioctl(vfd, SIOCGETFS, &ipfo)) { in showversion()