Lines Matching refs:htp
9867 /* parameters: htp(I) - pointer to address tracking structure */
9881 ipf_ht_node_make_key(htp, key, family, addr)
9882 host_track_t *htp;
9893 bits = htp->ht_netmask;
9902 int bits = htp->ht_netmask;
9939 /* htp(I) - pointer to address tracking structure */
9944 /* ipf_ht_node_del FROM RUNNING CONCURRENTLY ON THE SAME htp. */
9952 ipf_ht_node_add(softc, htp, family, addr)
9954 host_track_t *htp;
9961 ipf_ht_node_make_key(htp, &k, family, addr);
9963 h = RBI_SEARCH(ipf_rb, &htp->ht_root, &k);
9965 if (htp->ht_cur_nodes >= htp->ht_max_nodes)
9981 RBI_INSERT(ipf_rb, &htp->ht_root, h);
9982 htp->ht_cur_nodes++;
9984 if ((htp->ht_max_per_node != 0) &&
9985 (h->hn_active >= htp->ht_max_per_node)) {
10001 /* parameters: htp(I) - pointer to address tracking structure */
10006 /* ipf_ht_node_add FROM RUNNING CONCURRENTLY ON THE SAME htp. */
10013 ipf_ht_node_del(htp, family, addr)
10014 host_track_t *htp;
10021 ipf_ht_node_make_key(htp, &k, family, addr);
10023 h = RBI_SEARCH(ipf_rb, &htp->ht_root, &k);
10029 (void) RBI_DELETE(ipf_rb, &htp->ht_root, h);
10030 htp->ht_cur_nodes--;