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

/freebsd-10.3-release/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-10.3-release/contrib/ipfilter/tools/
H A Dipf.c541 int vfd; local
551 if ((vfd = open(ipfname, O_RDONLY)) == -1) {
556 if (ioctl(vfd, SIOCGETFS, &ipfo)) {
557 ipferror(vfd, "ioctl(SIOCGETFS)");
558 close(vfd);
561 close(vfd);
/freebsd-10.3-release/usr.sbin/mptutil/
H A Dmpt_config.c92 int error, vfd; local
107 vfd = open(path, O_RDWR);
108 if (vfd < 0) {

Completed in 56 milliseconds