Searched refs:vfd (Results 1 - 3 of 3) sorted by relevance

/freebsd-11-stable/contrib/ipfilter/lib/
H A Dcheckrev.c20 static int vfd = -1; local
30 if ((vfd == -1) && ((vfd = open(ipfname, O_RDONLY)) == -1)) {
35 if (ioctl(vfd, SIOCGETFS, &obj)) {
36 ipferror(vfd, "ioctl(SIOCGETFS)");
37 close(vfd);
38 vfd = -1;
/freebsd-11-stable/contrib/ipfilter/tools/
H A Dipf.c517 int vfd; local
527 if ((vfd = open(ipfname, O_RDONLY)) == -1) {
532 if (ioctl(vfd, SIOCGETFS, &ipfo)) {
533 ipferror(vfd, "ioctl(SIOCGETFS)");
534 close(vfd);
537 close(vfd);
/freebsd-11-stable/usr.sbin/mptutil/
H A Dmpt_config.c96 int error, vfd; local
111 vfd = open(path, O_RDWR);
112 if (vfd < 0) {

Completed in 172 milliseconds