Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/ipfilter/tools/
H A Dipf.c174 static int opendevice(ipfdev, check) in opendevice() argument
175 char *ipfdev; in opendevice()
186 if (!ipfdev)
187 ipfdev = ipfname;
190 if ((fd = open(ipfdev, O_RDWR)) == -1)
191 if ((fd = open(ipfdev, O_RDONLY)) == -1)
H A Dipfs.c338 int opendevice(ipfdev) in opendevice() argument
339 char *ipfdev; in opendevice()
346 if (!ipfdev)
347 ipfdev = IPL_NAME;
349 if ((fd = open(ipfdev, O_RDWR)) == -1)
350 if ((fd = open(ipfdev, O_RDONLY)) == -1)