Searched refs:hashfd (Results 1 – 4 of 4) sorted by relevance
/titanic_41/usr/src/cmd/ipf/lib/common/ |
H A D | load_hashnode.c | 21 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)) 38 if (setzone(hashfd) != 0) { 39 close(hashfd); 60 err = (*iocfunc)(hashfd, SIOCLOOKUPADDNODE, &op); 62 err = (*iocfunc)(hashfd, SIOCLOOKUPDELNODE, &op);
|
H A D | load_hash.c | 21 static int hashfd = -1; variable 35 if ((hashfd == -1) && ((opts & OPT_DONOTHING) == 0)) 36 hashfd = open(IPLOOKUP_NAME, O_RDWR); 37 if ((hashfd == -1) && ((opts & OPT_DONOTHING) == 0)) 39 if (setzone(hashfd) != 0) { 40 close(hashfd); 76 if ((*iocfunc)(hashfd, SIOCLOOKUPADDTABLE, &op)) 117 if ((*iocfunc)(hashfd, SIOCLOOKUPDELTABLE, &op))
|
H A D | remove_hash.c | 15 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 D | remove_hashnode.c | 15 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))
|