Home
last modified time | relevance | path

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

/src/sbin/ipf/ipf/
H A Dipf.c169 opendevice(char *ipfdev, int check) in opendevice() argument
179 if (!ipfdev) in opendevice()
180 ipfdev = ipfname; in opendevice()
183 if ((fd = open(ipfdev, O_RDWR)) == -1) in opendevice()
184 if ((fd = open(ipfdev, O_RDONLY)) == -1) in opendevice()
/src/sbin/ipf/ipfs/
H A Dipfs.c330 int opendevice(char *ipfdev) in opendevice() argument
337 if (!ipfdev) in opendevice()
338 ipfdev = IPL_NAME; in opendevice()
340 if ((fd = open(ipfdev, O_RDWR)) == -1) in opendevice()
341 if ((fd = open(ipfdev, O_RDONLY)) == -1) in opendevice()