Searched refs:opendevice (Results 1 – 2 of 2) sorted by relevance
| /freebsd/sbin/ipf/ipf/ |
| H A D | ipf.c | 38 static int opendevice(char *, int); 135 if (opendevice(ipfname, 1) >= 0) in main() 169 opendevice(char *ipfdev, int check) in opendevice() function 203 if ((opendevice(ipfname, 1) != -2) && in get_flags() 215 if (opendevice(ipfname, 0) != -2) { in set_state() 232 (void) opendevice(ipfname, 1); in procfile() 296 if (opendevice(ipfname, 1) != -2 && in packetlogon() 359 if (opendevice(IPSTATE_NAME, 1) == -2) in flushfilter() 408 if (opendevice(ipfname, 1) == -2) in flushfilter() 441 if (opendevice(ipfname, 1) != -2 && ioctl(fd, SIOCSWAPA, &in) == -1) in swapactive() [all …]
|
| /freebsd/sbin/ipf/ipfs/ |
| H A D | ipfs.c | 58 int opendevice(char *); 292 devfd = opendevice(NULL); in main() 295 devfd = opendevice(IPSTATE_NAME); in main() 297 devfd = opendevice(IPNAT_NAME); in main() 330 int opendevice(char *ipfdev) in opendevice() function 774 fd = opendevice(NULL); in writeall() 782 devfd = opendevice(IPSTATE_NAME); in writeall() 789 devfd = opendevice(IPNAT_NAME); in writeall() 823 fd = opendevice(NULL); in readall() 831 devfd = opendevice(IPSTATE_NAME); in readall() [all …]
|