Searched refs:ipfdev (Results 1 – 2 of 2) sorted by relevance
187 static int opendevice(ipfdev, check) in opendevice() argument188 char *ipfdev; in opendevice()199 if (!ipfdev)200 ipfdev = ipfname;203 if ((fd = open(ipfdev, O_RDWR)) == -1)204 if ((fd = open(ipfdev, O_RDONLY)) == -1)
356 int opendevice(ipfdev) in opendevice() argument357 char *ipfdev; in opendevice()364 if (!ipfdev)365 ipfdev = IPL_NAME;367 if ((fd = open(ipfdev, O_RDWR)) == -1)368 if ((fd = open(ipfdev, O_RDONLY)) == -1)