Home
last modified time | relevance | path

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

/freebsd/sbin/ipf/libipf/
H A Dload_hash.c54 iph.iph_table = NULL; in load_hash()
70 iph.iph_table = calloc(size, sizeof(*iph.iph_table)); in load_hash()
71 if (iph.iph_table == NULL) { in load_hash()
77 free(iph.iph_table); in load_hash()
H A Dprinthash.c37 if ((*copyfunc)((char *)iph.iph_table, (char *)table, sz)) in printhash()
/freebsd/sys/netpfil/ipfilter/netinet/
H A Dip_htable.c328 KMALLOCS(iph->iph_table, iphtent_t **, in ipf_htable_create()
329 iph->iph_size * sizeof(*iph->iph_table)); in ipf_htable_create()
330 if (iph->iph_table == NULL) { in ipf_htable_create()
337 bzero((char *)iph->iph_table, iph->iph_size * sizeof(*iph->iph_table)); in ipf_htable_create()
456 KFREES(iph->iph_table, iph->iph_size * sizeof(*iph->iph_table)); in ipf_htable_free()
882 ipe->ipe_hnext = iph->iph_table[hv]; in ipf_htent_insert()
883 ipe->ipe_phnext = iph->iph_table + hv; in ipf_htent_insert()
885 if (iph->iph_table[hv] != NULL) in ipf_htent_insert()
886 iph->iph_table[hv]->ipe_phnext = &ipe->ipe_hnext; in ipf_htent_insert()
887 iph->iph_table[hv] = ipe; in ipf_htent_insert()
[all …]
H A Dip_htable.h41 struct iphtent_s **iph_table; member