Lines Matching refs:htp
9580 /* parameters: htp(I) - pointer to address tracking structure */
9594 ipf_ht_node_make_key(host_track_t *htp, host_node_t *key, int family,
9603 bits = htp->ht_netmask;
9612 int bits = htp->ht_netmask;
9649 /* htp(I) - pointer to address tracking structure */
9654 /* ipf_ht_node_del FROM RUNNING CONCURRENTLY ON THE SAME htp. */
9662 ipf_ht_node_add(ipf_main_softc_t *softc, host_track_t *htp, int family,
9668 ipf_ht_node_make_key(htp, &k, family, addr);
9670 h = RBI_SEARCH(ipf_rb, &htp->ht_root, &k);
9672 if (htp->ht_cur_nodes >= htp->ht_max_nodes)
9688 RBI_INSERT(ipf_rb, &htp->ht_root, h);
9689 htp->ht_cur_nodes++;
9691 if ((htp->ht_max_per_node != 0) &&
9692 (h->hn_active >= htp->ht_max_per_node)) {
9708 /* parameters: htp(I) - pointer to address tracking structure */
9713 /* ipf_ht_node_add FROM RUNNING CONCURRENTLY ON THE SAME htp. */
9720 ipf_ht_node_del(host_track_t *htp, int family, i6addr_t *addr)
9725 ipf_ht_node_make_key(htp, &k, family, addr);
9727 h = RBI_SEARCH(ipf_rb, &htp->ht_root, &k);
9733 (void) RBI_DELETE(ipf_rb, &htp->ht_root, h);
9734 htp->ht_cur_nodes--;