Searched refs:opendevice (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ipf.c | 52 static int opendevice __P((char *, int)); 154 if (opendevice(ipfname, 1) >= 0) 187 static int opendevice(ipfdev, check) in opendevice() function 227 if ((opendevice(ipfname, 1) != -2) && in get_flags() 239 if (opendevice(ipfname, 0) != -2) 254 (void) opendevice(ipfname, 1); 318 if (opendevice(ipfname, 1) != -2 && 389 if (opendevice(IPSTATE_NAME, 1) == -2) 419 if (opendevice(IPL_AUTH, 1) == -1) 440 if (opendevice(ipfname, 1) == -2) [all …]
|
H A D | ipfs.c | 79 int opendevice __P((char *)); 318 devfd = opendevice(NULL); 321 devfd = opendevice(IPSTATE_NAME); 323 devfd = opendevice(IPNAT_NAME); 356 int opendevice(ipfdev) in opendevice() function 797 fd = opendevice(NULL); 805 devfd = opendevice(IPSTATE_NAME); 812 devfd = opendevice(IPNAT_NAME); 847 fd = opendevice(NULL); 855 devfd = opendevice(IPSTATE_NAME); [all …]
|