Home
last modified time | relevance | path

Searched refs:poolfd (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dload_poolnode.c18 static int poolfd = -1; variable
31 if ((poolfd == -1) && ((opts & OPT_DONOTHING) == 0))
32 poolfd = open(IPLOOKUP_NAME, O_RDWR);
33 if ((poolfd == -1) && ((opts & OPT_DONOTHING) == 0))
35 if (setzone(poolfd) != 0) {
36 close(poolfd);
56 err = (*iocfunc)(poolfd, SIOCLOOKUPADDNODE, &op);
58 err = (*iocfunc)(poolfd, SIOCLOOKUPDELNODE, &op);
H A Dload_pool.c21 static int poolfd = -1; variable
32 if ((poolfd == -1) && ((opts & OPT_DONOTHING) == 0))
33 poolfd = open(IPLOOKUP_NAME, O_RDWR);
34 if ((poolfd == -1) && ((opts & OPT_DONOTHING) == 0))
36 if (setzone(poolfd) != 0) {
37 close(poolfd);
53 if ((*iocfunc)(poolfd, SIOCLOOKUPADDTABLE, &op))
70 if ((*iocfunc)(poolfd, SIOCLOOKUPDELTABLE, &op))
H A Dremove_pool.c15 static int poolfd = -1; variable
25 if ((poolfd == -1) && ((opts & OPT_DONOTHING) == 0))
26 poolfd = open(IPLOOKUP_NAME, O_RDWR);
27 if ((poolfd == -1) && ((opts & OPT_DONOTHING) == 0))
41 if ((*iocfunc)(poolfd, SIOCLOOKUPDELTABLE, &op))
H A Dremove_poolnode.c15 static int poolfd = -1; variable
27 if ((poolfd == -1) && ((opts & OPT_DONOTHING) == 0))
28 poolfd = open(IPLOOKUP_NAME, O_RDWR);
29 if ((poolfd == -1) && ((opts & OPT_DONOTHING) == 0))
47 if ((*iocfunc)(poolfd, SIOCLOOKUPDELNODE, &op)) {