opendevice
if (opendevice(ipfname, 1) >= 0)
if ((opendevice(ipfname, 1) != -2) &&
if (opendevice(ipfname, 0) != -2)
(void) opendevice(ipfname, 1);
if (opendevice(ipfname, 1) != -2 &&
if (opendevice(IPSTATE_NAME, 1) == -2)
if (opendevice(IPL_AUTH, 1) == -1)
if (opendevice(ipfname, 1) == -2)
if (opendevice(ipfname, 1) != -2 && ioctl(fd, SIOCSWAPA, &in) == -1)
if (opendevice(ipfname, 1) != -2 && ioctl(fd, SIOCFRSYN, &frsyn) == -1)
if (opendevice(ipfname, 1) != -2) {
static int opendevice __P((char *, int));
devfd = opendevice(NULL);
devfd = opendevice(IPSTATE_NAME);
devfd = opendevice(IPNAT_NAME);
int opendevice __P((char *));
fd = opendevice(NULL);
devfd = opendevice(IPSTATE_NAME);
devfd = opendevice(IPNAT_NAME);
fd = opendevice(NULL);
devfd = opendevice(IPSTATE_NAME);
devfd = opendevice(IPNAT_NAME);