Home
last modified time | relevance | path

Searched refs:vfd (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dcheckrev.c18 static int vfd = -1; local
28 if ((vfd == -1) && ((vfd = open(ipfname, O_RDONLY)) == -1)) {
33 if (ioctl(vfd, SIOCGETFS, &ipfo)) {
35 close(vfd);
36 vfd = -1;
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipf.c536 int vfd; in showversion() local
546 if ((vfd = open(ipfname, O_RDONLY)) == -1) { in showversion()
551 if (setzone(vfd) != 0) { in showversion()
552 close(vfd); in showversion()
556 if (ioctl(vfd, SIOCGETFS, &ipfo)) { in showversion()
558 close(vfd); in showversion()
561 close(vfd); in showversion()