/freebsd-current/contrib/libfido2/openbsd-compat/ |
H A D | posix_ioctl_check.c | 1 #include <sys/ioctl.h> 6 return ioctl(fd, -1, 0);
|
/freebsd-current/tools/build/cross-build/include/linux/sys/ |
H A D | ioccom.h | 37 #include <sys/ioctl.h>
|
H A D | filio.h | 38 #include <sys/ioctl.h>
|
H A D | ttycom.h | 38 #include <sys/ioctl.h>
|
/freebsd-current/contrib/libpcap/cmake/ |
H A D | have_siocglifconf.c | 1 #include <sys/ioctl.h> 5 ioctl(0, SIOCGLIFCONF, (char *)0);
|
/freebsd-current/tools/regression/audit/audit_pipe_ioctl/ |
H A D | audit_pipe_ioctl.c | 36 #include <sys/ioctl.h> 59 if (ioctl(fd, AUDITPIPE_GET_QLEN, &len) < 0) 65 if (ioctl(fd, AUDITPIPE_GET_QLIMIT_MIN, &minlen) < 0) 71 if (ioctl(fd, AUDITPIPE_GET_QLIMIT_MAX, &maxlen) < 0) 77 if (ioctl(fd, AUDITPIPE_GET_QLIMIT, &len) < 0) 93 if (ioctl(fd, AUDITPIPE_SET_QLIMIT, &len) < 0) 96 if (ioctl(fd, AUDITPIPE_GET_QLIMIT, &len) < 0) 103 if (ioctl(fd, AUDITPIPE_SET_QLIMIT, &len) < 0) 106 if (ioctl(fd, AUDITPIPE_GET_QLIMIT, &len) < 0) 117 if (ioctl(f [all...] |
/freebsd-current/lib/libc/net/ |
H A D | sockatmark.c | 28 #include <sys/ioctl.h>
|
/freebsd-current/tests/sys/netpfil/pf/ioctl/ |
H A D | Makefile | 4 TESTSDIR= ${TESTSBASE}/sys/netpfil/pf/ioctl
|
H A D | validation.c | 29 #include <sys/ioctl.h> 86 if (ioctl(dev, DIOCRADDTABLES, &io) == 0) 91 if (ioctl(dev, DIOCRADDTABLES, &io) == 0) 97 if (ioctl(dev, DIOCRADDTABLES, &io) == 0) 106 ioctl(dev, DIOCRADDTABLES, &io); 137 if (ioctl(dev, DIOCRDELTABLES, &io) == 0) 142 if (ioctl(dev, DIOCRDELTABLES, &io) == 0) 148 if (ioctl(dev, DIOCRDELTABLES, &io) == 0) 181 if (ioctl(dev, DIOCRGETTABLES, &io) != 0) 186 if (ioctl(de [all...] |
/freebsd-current/lib/libusbhid/ |
H A D | descr_compat.c | 43 #include <sys/ioctl.h> 53 return (ioctl(fd, USB_SET_IMMED, &enable)); 61 if (ioctl(fd, USB_GET_REPORT_ID, &temp) < 0) 73 if (ioctl(fd, USB_GET_REPORT_DESC, &rep) < 0)
|
/freebsd-current/contrib/tcsh/ |
H A D | tc.disc.c | 75 if (ioctl(f, TCGETA, (ioctl_t) & termiob) == 0) { 84 if (ioctl(f, TCSETA, (ioctl_t) & termiob) != 0) 104 if (ioctl(f, TCGETA, (ioctl_t) & termiob) == 0) { 109 if (ioctl(f, TIOCGLTC, (ioctl_t) & ltcbuf) != 0) 118 if (ioctl(f, TIOCSLTC, (ioctl_t) & ltcbuf) != 0) 122 if (ioctl(f, TCSETAF, (ioctl_t) & termiob) != 0) 138 if (ioctl(f, TXGETLD, (ioctl_t) & tx) == 0) { 140 if (ioctl(f, TXADDCD, (ioctl_t) strPOSIX) == 0) { 152 if (ioctl(f, TIOCGETD, (ioctl_t) & oldisc) == 0) { 156 if (ioctl( [all...] |
/freebsd-current/tools/tools/wtap/wtap/ |
H A D | wtap.c | 32 #include <sys/ioctl.h> 40 if(ioctl(dev, WTAPIOCTLCRT, &id) < 0){ 47 if(ioctl(dev, WTAPIOCTLDEL, &id) < 0){ 76 printf("wtap ioctl: unknown command '%c'\n", *argv[1]);
|
/freebsd-current/sys/contrib/openzfs/lib/libspl/include/ |
H A D | unistd.h | 32 #include <sys/ioctl.h>
|
/freebsd-current/sys/contrib/openzfs/lib/libzfs_core/os/linux/ |
H A D | libzfs_core_ioctl.c | 29 return (ioctl(fd, request, zc));
|
/freebsd-current/contrib/libpcap/lbl/ |
H A D | os-ultrix4.h | 32 int ioctl(int, int, caddr_t);
|
/freebsd-current/contrib/tcpdump/lbl/ |
H A D | os-ultrix4.h | 33 int ioctl(int, int, caddr_t);
|
/freebsd-current/contrib/tcp_wrappers/ |
H A D | ptx.c | 69 #define SWAP_MODULE(f, old, new) (ioctl(f, I_POP, old), ioctl(f, I_PUSH, new)) 94 if (ioctl(fd, I_FIND, "timod") != 0) 95 ioctl(fd, I_POP, "timod"); 96 if (ioctl(fd, I_FIND, "sockmod") == 0) 97 ioctl(fd, I_PUSH, "sockmod");
|
H A D | ncr.c | 49 if ((num_mod = ioctl(fd, I_LIST, NULL)) < 0) 51 if (ioctl(fd, I_LIST, &str_list) < 0) 58 if (ioctl(fd, I_POP, 0) < 0) 64 if (ioctl(fd, I_PUSH, "timod") < 0) 71 if (ioctl(fd, I_POP, 0) < 0) 78 if (ioctl(fd, I_PUSH, mod_buffer[i].l_name) < 0)
|
/freebsd-current/lib/libvgl/ |
H A D | keyboard.c | 34 #include <sys/ioctl.h> 49 ioctl(0, KDGKBMODE, &VGLKeyboardMode); 66 ioctl(0, KDSKBMODE, K_RAW); 69 ioctl(0, KDSKBMODE, K_CODE); 72 ioctl(0, KDSKBMODE, K_XLATE); 82 ioctl(0, KDSKBMODE, VGLKeyboardMode);
|
/freebsd-current/tests/sys/kern/ |
H A D | tty_pts.c | 8 #include <sys/ioctl.h> 29 ATF_REQUIRE_EQ(0, ioctl(master, FIONREAD, &bytes)); 33 ATF_REQUIRE_EQ(0, ioctl(master, FIONREAD, &bytes)); 38 ATF_REQUIRE_EQ(0, ioctl(master, FIONREAD, &bytes)); 46 ATF_REQUIRE_EQ(0, ioctl(master, FIONREAD, &bytes)); 55 ATF_REQUIRE_EQ(0, ioctl(master, FIONREAD, &bytes));
|
/freebsd-current/crypto/openssh/openbsd-compat/ |
H A D | bsd-nextstep.c | 49 return (ioctl(fd, TIOCGETA, t)); 64 return (ioctl(fd, TIOCSETA, t)); 66 return (ioctl(fd, TIOCSETAW, t)); 68 return (ioctl(fd, TIOCSETAF, t)); 77 return (ioctl(fd, TIOCSPGRP, &pgrp));
|
/freebsd-current/contrib/netbsd-tests/kernel/kqueue/ |
H A D | t_ioctl.c | 38 #include <sys/ioctl.h> 50 atf_tc_set_md_var(tc, "descr", "Checks KFILTER_BYFILTER ioctl"); 66 RL(ioctl(kq, KFILTER_BYFILTER, &km)); 71 ATF_REQUIRE_EQ(ioctl(kq, KFILTER_BYFILTER, &km), -1); 77 atf_tc_set_md_var(tc, "descr", "Checks KFILTER_BYNAME ioctl"); 102 RL(ioctl(kq, KFILTER_BYNAME, &km)); 107 ATF_REQUIRE_EQ(ioctl(kq, KFILTER_BYNAME, &km), -1);
|
/freebsd-current/sbin/comcontrol/ |
H A D | comcontrol.c | 41 #include <sys/ioctl.h> 74 if (ioctl(fd, TIOCMGDTRWAIT, &dtrwait) < 0) { 81 if (ioctl(fd, TIOCGDRAINWAIT, &drainwait) < 0) { 113 if (ioctl(fd, TIOCMSDTRWAIT, &dtrwait) < 0) { 119 if (ioctl(fd, TIOCSDRAINWAIT, &drainwait) < 0) {
|
/freebsd-current/contrib/wpa/src/ap/ |
H A D | vlan_ifconfig.c | 13 #include <sys/ioctl.h> 33 if (ioctl(fd, SIOCGIFFLAGS, &ifr) != 0) { 34 wpa_printf(MSG_ERROR, "VLAN: %s: ioctl(SIOCGIFFLAGS) failed " 46 if (ioctl(fd, SIOCSIFFLAGS, &ifr) != 0) { 47 wpa_printf(MSG_ERROR, "VLAN: %s: ioctl(SIOCSIFFLAGS) failed "
|
/freebsd-current/tests/sys/net/ |
H A D | if_epair.c | 27 #include <sys/ioctl.h> 65 if (ioctl(s, SIOCIFCREATE2, &ifr) < 0) 68 if (ioctl(s, SIOCIFDESTROY, &ifr) < 0)
|