Searched refs:ioctl (Results 276 - 300 of 943) sorted by relevance

<<11121314151617181920>>

/freebsd-13-stable/sbin/ifconfig/
H A Daf_inet.c38 #include <sys/ioctl.h>
189 if (ioctl(s, SIOCGIFPSRCADDR, (caddr_t)&ifr) < 0)
196 if (ioctl(s, SIOCGIFPDSTADDR, (caddr_t)&ifr) < 0)
216 if (ioctl(s, SIOCSIFPHYADDR, &addreq) < 0)
/freebsd-13-stable/sbin/nvmecontrol/
H A Dreset.c73 if (ioctl(fd, NVME_RESET_CONTROLLER) < 0)
/freebsd-13-stable/lib/libifconfig/
H A Dlibifconfig_inet.c32 #include <sys/ioctl.h>
H A Dlibifconfig_inet6.c32 #include <sys/ioctl.h>
/freebsd-13-stable/lib/libusb/
H A Dlibusb_global_linux.h55 #include <sys/ioctl.h>
/freebsd-13-stable/contrib/ipfilter/lib/
H A Dinterror.c11 #include <sys/ioctl.h>
37 { 9, "invalid ioctl for rule" },
70 { 42, "ipfilter not enabled for NAT ioctl" },
71 { 43, "ipfilter not enabled for state ioctl" },
72 { 44, "ipfilter not enabled for auth ioctl" },
73 { 45, "ipfilter not enbaled for sync ioctl" },
74 { 46, "ipfilter not enabled for scan ioctl" },
75 { 47, "ipfilter not enabled for lookup ioctl" },
76 { 48, "unrecognised device minor number for ioctl" },
108 { 80, "ipftune called for unrecognised ioctl" },
[all...]
H A Dipf_dotuning.c13 #include <sys/ioctl.h>
35 "ioctl(SIOCIPFGETNEXT)");
51 "ioctl(SIOCIPFSET)");
62 ipf_perror_fd(fd, iocfn, "ioctl(SIOCIPFGET)");
H A Dload_dstlist.c10 #include <sys/ioctl.h>
H A Dload_dstlistnode.c10 #include <sys/ioctl.h>
H A Dload_hashnode.c12 #include <sys/ioctl.h>
H A Dload_pool.c12 #include <sys/ioctl.h>
H A Dload_poolnode.c12 #include <sys/ioctl.h>
/freebsd-13-stable/contrib/hyperv/tools/
H A Dhv_vss_daemon.c3 #include <sys/ioctl.h>
107 error = ioctl(g_ufs_suspend_handle, UFSSUSPEND, &statfsp->f_fsid);
226 error = ioctl(hv_vss_dev_fd, IOCHVVSSREAD, &userdata);
264 error = ioctl(hv_vss_dev_fd, IOCHVVSSWRITE, &userdata);
/freebsd-13-stable/contrib/ofed/opensm/libvendor/
H A Dosm_vendor_mlx_ts_anafa.c50 #include <sys/ioctl.h>
215 ts_ioctl_ret = ioctl(device_fd, TS_IB_IOCSMADFILTADD, &filter);
221 ts_ioctl_ret = ioctl(device_fd, TS_IB_IOCSMADFILTADD, &filter);
232 ts_ioctl_ret = ioctl(device_fd, TS_IB_IOCSMADFILTADD, &filter);
/freebsd-13-stable/contrib/netbsd-tests/dev/md/
H A Dh_mdserv.c5 #include <sys/ioctl.h>
/freebsd-13-stable/contrib/netbsd-tests/kernel/
H A Dt_pty.c29 #include <sys/ioctl.h>
115 if (ioctl(fd, TIOCSQSIZE, &opt) == -1)
117 if (ioctl(fd, TIOCGQSIZE, &opt) == -1)
163 if (ioctl(fd, TIOCSETD, &opt) == -1)
H A Dt_rnd.c34 #include <sys/ioctl.h>
48 "Checks ioctl(RNDADDDATA) (PR kern/42020)");
71 atf_tc_set_md_var(tc, "descr", "checks ioctl(RNDADDDATA) deals with "
/freebsd-13-stable/contrib/netbsd-tests/net/if/
H A Dt_compat.c4 #include <sys/ioctl.h>
18 * Test for stack smashing in compat ioctl handling. Adapted as an
/freebsd-13-stable/sys/sys/
H A Dioccom.h48 #define IOCPARM_SHIFT 13 /* number of bits for ioctl size */
54 #define IOCPARM_MAX (1 << IOCPARM_SHIFT) /* max size of ioctl */
70 /* Replace length/type in an ioctl command. */
90 int ioctl(int, unsigned long, ...);
/freebsd-13-stable/share/examples/libifconfig/
H A Difchangevlan.c32 #include <sys/ioctl.h>
H A Difcreatevlan.c32 #include <sys/ioctl.h>
/freebsd-13-stable/usr.sbin/mlxcontrol/
H A Dinterface.c92 if (ioctl(ctrlfd, MLX_NEXT_CHILD, &i) < 0) {
137 if (ioctl(fd, MLX_NEXT_CHILD, &i) < 0)
143 if (ioctl(fd, MLX_GET_SYSDRIVE, &i) == 0)
178 error = ioctl(fd, MLX_COMMAND, cmd);
/freebsd-13-stable/usr.sbin/ppp/
H A Did.h60 #define ID0ioctl ioctl
/freebsd-13-stable/tools/tools/crypto/
H A Dcryptokeytest.c11 #include <sys/ioctl.h>
50 if (ioctl(devcrypto(), CIOCFINDDEV, &find) == -1)
51 err(1, "ioctl(CIOCFINDDEV)");
62 if (ioctl(devcrypto(), CIOCFINDDEV, &find) == -1)
63 err(1, "ioctl(CIOCFINDDEV)");
139 if (ioctl(crypto_fd, CIOCKEY2, &kop) == -1)
/freebsd-13-stable/usr.bin/mail/
H A Dtty.c103 if (ioctl(fileno(stdin), TIOCEXT, &flag) < 0)
156 if (ioctl(fileno(stdin), TIOCEXT, &flag) < 0)
198 ioctl(0, TIOCSTI, &ch);
201 ioctl(0, TIOCSTI, &ch);

Completed in 272 milliseconds

<<11121314151617181920>>