Searched refs:hashfd (Results 1 - 4 of 4) sorted by relevance

/opensolaris-onvv-gate/usr/src/cmd/ipf/lib/common/
H A Dremove_hash.c15 static int hashfd = -1; variable
25 if ((hashfd == -1) && ((opts & OPT_DONOTHING) == 0))
26 hashfd = open(IPLOOKUP_NAME, O_RDWR);
27 if ((hashfd == -1) && ((opts & OPT_DONOTHING) == 0))
44 if ((*iocfunc)(hashfd, SIOCLOOKUPDELTABLE, &op))
H A Dload_hashnode.c20 static int hashfd = -1; variable
33 if ((hashfd == -1) && ((opts & OPT_DONOTHING) == 0))
34 hashfd = open(IPLOOKUP_NAME, O_RDWR);
35 if ((hashfd == -1) && ((opts & OPT_DONOTHING) == 0))
55 err = (*iocfunc)(hashfd, SIOCLOOKUPADDNODE, &op);
57 err = (*iocfunc)(hashfd, SIOCLOOKUPDELNODE, &op);
H A Dremove_hashnode.c15 static int hashfd = -1; variable
27 if ((hashfd == -1) && ((opts & OPT_DONOTHING) == 0))
28 hashfd = open(IPLOOKUP_NAME, O_RDWR);
29 if ((hashfd == -1) && ((opts & OPT_DONOTHING) == 0))
50 if ((*iocfunc)(hashfd, SIOCLOOKUPDELNODE, &op))
H A Dload_hash.c20 static int hashfd = -1; variable
34 if ((hashfd == -1) && ((opts & OPT_DONOTHING) == 0))
35 hashfd = open(IPLOOKUP_NAME, O_RDWR);
36 if ((hashfd == -1) && ((opts & OPT_DONOTHING) == 0))
71 if ((*iocfunc)(hashfd, SIOCLOOKUPADDTABLE, &op))
112 if ((*iocfunc)(hashfd, SIOCLOOKUPDELTABLE, &op))

Completed in 51 milliseconds