Home
last modified time | relevance | path

Searched refs:iph_table (Results 1 – 6 of 6) sorted by relevance

/netbsd-src/external/bsd/ipf/dist/lib/
H A Dload_hash.c58 iph.iph_table = NULL;
74 iph.iph_table = calloc(size, sizeof(*iph.iph_table));
75 if (iph.iph_table == NULL) {
81 free(iph.iph_table);
H A Dprinthash.c42 if ((*copyfunc)((char *)iph.iph_table, (char *)table, sz))
/netbsd-src/sys/external/bsd/ipf/netinet/
H A Dip_htable.c352 KMALLOCS(iph->iph_table, iphtent_t **, in ipf_htable_create()
353 iph->iph_size * sizeof(*iph->iph_table)); in ipf_htable_create()
354 if (iph->iph_table == NULL) { in ipf_htable_create()
361 bzero((char *)iph->iph_table, iph->iph_size * sizeof(*iph->iph_table)); in ipf_htable_create()
480 KFREES(iph->iph_table, iph->iph_size * sizeof(*iph->iph_table)); in ipf_htable_free()
905 ipe->ipe_hnext = iph->iph_table[hv]; in ipf_htent_insert()
906 ipe->ipe_phnext = iph->iph_table + hv; in ipf_htent_insert()
908 if (iph->iph_table[hv] != NULL) in ipf_htent_insert()
909 iph->iph_table[hv]->ipe_phnext = &ipe->ipe_hnext; in ipf_htent_insert()
910 iph->iph_table[hv] = ipe; in ipf_htent_insert()
[all …]
H A Dip_htable.h43 struct iphtent_s **iph_table; member
/netbsd-src/external/bsd/ipf/dist/
H A Dip_htable.c353 KMALLOCS(iph->iph_table, iphtent_t **,
354 iph->iph_size * sizeof(*iph->iph_table));
355 if (iph->iph_table == NULL) {
362 bzero((char *)iph->iph_table, iph->iph_size * sizeof(*iph->iph_table));
493 KFREES(iph->iph_table, iph->iph_size * sizeof(*iph->iph_table));
953 ipe->ipe_hnext = iph->iph_table[hv];
954 ipe->ipe_phnext = iph->iph_table + hv;
956 if (iph->iph_table[hv] != NULL)
957 iph->iph_table[hv]->ipe_phnext = &ipe->ipe_hnext;
958 iph->iph_table[hv] = ipe;
[all …]
H A Dip_htable.h43 struct iphtent_s **iph_table; member