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

/netbsd-6-1-5-RELEASE/dist/ipf/lib/
H A Dremove_hash.c17 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))
46 if ((*iocfunc)(hashfd, SIOCLOOKUPDELTABLE, &op))
H A Dload_hashnode.c17 static int hashfd = -1; variable
30 if ((hashfd == -1) && ((opts & OPT_DONOTHING) == 0))
31 hashfd = open(IPLOOKUP_NAME, O_RDWR);
32 if ((hashfd == -1) && ((opts & OPT_DONOTHING) == 0))
51 err = (*iocfunc)(hashfd, SIOCLOOKUPADDNODE, &op);
53 err = (*iocfunc)(hashfd, SIOCLOOKUPDELNODE, &op);
H A Dremove_hashnode.c17 static int hashfd = -1; variable
29 if ((hashfd == -1) && ((opts & OPT_DONOTHING) == 0))
30 hashfd = open(IPLOOKUP_NAME, O_RDWR);
31 if ((hashfd == -1) && ((opts & OPT_DONOTHING) == 0))
52 if ((*iocfunc)(hashfd, SIOCLOOKUPDELNODE, &op))
H A Dload_hash.c17 static int hashfd = -1; variable
31 if ((hashfd == -1) && ((opts & OPT_DONOTHING) == 0))
32 hashfd = open(IPLOOKUP_NAME, O_RDWR);
33 if ((hashfd == -1) && ((opts & OPT_DONOTHING) == 0))
70 if ((*iocfunc)(hashfd, SIOCLOOKUPADDTABLE, &op))
108 if ((*iocfunc)(hashfd, SIOCLOOKUPDELTABLE, &op))

Completed in 104 milliseconds