Searched refs:opendevice (Results 1 – 2 of 2) sorted by relevance
| /freebsd-11-stable/contrib/ipfilter/tools/ |
| HD | ipf.c | 43 static int opendevice(char *, int); 141 if (opendevice(ipfname, 1) >= 0) 174 static int opendevice(ipfdev, check) in opendevice() function 208 if ((opendevice(ipfname, 1) != -2) && in get_flags() 220 if (opendevice(ipfname, 0) != -2) { 237 (void) opendevice(ipfname, 1); 303 if (opendevice(ipfname, 1) != -2 && 367 if (opendevice(IPSTATE_NAME, 1) == -2) 416 if (opendevice(ipfname, 1) == -2) 448 if (opendevice(ipfname, 1) != -2 && ioctl(fd, SIOCSWAPA, &in) == -1) in swapactive() [all …]
|
| HD | ipfs.c | 62 int opendevice(char *); 300 devfd = opendevice(NULL); 303 devfd = opendevice(IPSTATE_NAME); 305 devfd = opendevice(IPNAT_NAME); 338 int opendevice(ipfdev) in opendevice() function 794 fd = opendevice(NULL); 802 devfd = opendevice(IPSTATE_NAME); 809 devfd = opendevice(IPNAT_NAME); 844 fd = opendevice(NULL); 852 devfd = opendevice(IPSTATE_NAME); [all …]
|