Home | History | Annotate | Download | only in netinet

Lines Matching defs:softh

159 	ipf_htable_softc_t *softh;
161 KMALLOC(softh, ipf_htable_softc_t *);
162 if (softh == NULL) {
167 bzero((char *)softh, sizeof(*softh));
169 return softh;
185 ipf_htable_softc_t *softh = arg;
187 KFREE(softh);
202 ipf_htable_softc_t *softh = arg;
204 bzero((char *)softh, sizeof(*softh));
248 ipf_htable_softc_t *softh = arg;
257 stats.iphs_tables = softh->ipf_htables[op->iplo_unit + 1];
258 stats.iphs_numtables = softh->ipf_nhtables[op->iplo_unit + 1];
259 stats.iphs_numnodes = softh->ipf_nhtnodes[op->iplo_unit + 1];
260 stats.iphs_nomem = softh->ipht_nomem[op->iplo_unit + 1];
284 ipf_htable_softc_t *softh = arg;
311 iph = ipf_htable_exists(softh, unit, op->iplo_name);
325 softh->ipht_nomem[op->iplo_unit + 1]++;
336 for (oiph = softh->ipf_htables[unit + 1]; oiph != NULL;
356 softh->ipht_nomem[unit + 1]++;
370 iph->iph_next = softh->ipf_htables[unit + 1];
371 iph->iph_pnext = &softh->ipf_htables[unit + 1];
372 if (softh->ipf_htables[unit + 1] != NULL)
373 softh->ipf_htables[unit + 1]->iph_pnext = &iph->iph_next;
374 softh->ipf_htables[unit + 1] = iph;
376 softh->ipf_nhtables[unit + 1]++;
469 ipf_htable_softc_t *softh = arg;
478 softh->ipf_nhtables[iph->iph_unit + 1]--;
654 ipf_htable_softc_t *softh = arg;
662 ipf_htable_free(softh, iph);
678 ipf_htable_softc_t *softh = arg;
682 softh->ipf_nhtnodes[ipe->ipe_unit + 1]--;
700 ipf_htable_softc_t *softh = arg;
707 for (iph = softh->ipf_htables[i]; iph != NULL;
717 for (iph = softh->ipf_htables[unit + 1]; iph != NULL;
782 ipf_htable_softc_t *softh = arg;
791 while ((iph = softh->ipf_htables[i + 1]) != NULL) {
865 ipf_htable_softc_t *softh = arg;
928 for (n = softh->ipf_node_explist; n != NULL; n = n->ipe_dnext) {
944 if (softh->ipf_node_explist == NULL) {
945 softh->ipf_node_explist = ipe;
946 ipe->ipe_pdnext = &softh->ipf_node_explist;
978 softh->ipf_nhtnodes[ipe->ipe_unit + 1]++;
1171 ipf_htable_softc_t *softh = arg;
1190 nextiph = softh->ipf_htables[(int)ilp->ili_unit + 1];
1253 ipf_htable_deref(softc, softh, iph);
1363 ipf_htable_softc_t *softh = arg;
1366 while ((n = softh->ipf_node_explist) != NULL) {
1370 ipf_htent_remove(softc, softh, n->ipe_owner, n);
1385 ipf_htable_softc_t *softh = arg;
1391 for (iph = softh->ipf_htables[i]; iph != NULL;