Searched refs:ipfdev (Results 1 – 2 of 2) sorted by relevance
174 static int opendevice(ipfdev, check) in opendevice() argument175 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)
338 int opendevice(ipfdev) in opendevice() argument339 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)