Searched refs:ipfdev (Results 1 – 2 of 2) sorted by relevance
173 opendevice(char *ipfdev, int check) in opendevice() argument183 if (!ipfdev) in opendevice()184 ipfdev = ipfname; in opendevice()187 if ((fd = open(ipfdev, O_RDWR)) == -1) in opendevice()188 if ((fd = open(ipfdev, O_RDONLY)) == -1) in opendevice()
333 int opendevice(char *ipfdev) in opendevice() argument340 if (!ipfdev) in opendevice()341 ipfdev = IPL_NAME; in opendevice()343 if ((fd = open(ipfdev, O_RDWR)) == -1) in opendevice()344 if ((fd = open(ipfdev, O_RDONLY)) == -1) in opendevice()