Searched refs:ipfdev (Results 1 – 2 of 2) sorted by relevance
180 static int opendevice(ipfdev, check) in opendevice() argument181 char *ipfdev; in opendevice()192 if (!ipfdev)193 ipfdev = ipfname;196 if ((fd = open(ipfdev, O_RDWR)) == -1)197 if ((fd = open(ipfdev, O_RDONLY)) == -1)
350 int opendevice(ipfdev) in opendevice() argument351 char *ipfdev; in opendevice()358 if (!ipfdev)359 ipfdev = IPL_NAME;361 if ((fd = open(ipfdev, O_RDWR)) == -1)362 if ((fd = open(ipfdev, O_RDONLY)) == -1)