Searched refs:ipfdev (Results 1 – 2 of 2) sorted by relevance
174 opendevice(char *ipfdev, int check) in opendevice() argument184 if (!ipfdev) in opendevice()185 ipfdev = ipfname; in opendevice()188 if ((fd = open(ipfdev, O_RDWR)) == -1) in opendevice()189 if ((fd = open(ipfdev, O_RDONLY)) == -1) in opendevice()
334 int opendevice(char *ipfdev) in opendevice() argument341 if (!ipfdev) in opendevice()342 ipfdev = IPL_NAME; in opendevice()344 if ((fd = open(ipfdev, O_RDWR)) == -1) in opendevice()345 if ((fd = open(ipfdev, O_RDONLY)) == -1) in opendevice()