Home
last modified time | relevance | path

Searched refs:bucketlens (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/netpfil/ipfilter/netinet/
H A Dip_nat.c7863 u_int *bucketlens[2]; in ipf_nat_rehash() local
7879 bucketlens[0] = NULL; in ipf_nat_rehash()
7880 bucketlens[1] = NULL; in ipf_nat_rehash()
7898 if (bucketlens[0] == NULL) { in ipf_nat_rehash()
7904 if (bucketlens[1] == NULL) { in ipf_nat_rehash()
7918 bzero((char *)bucketlens[0], newsize * sizeof(u_int)); in ipf_nat_rehash()
7919 bzero((char *)bucketlens[1], newsize * sizeof(u_int)); in ipf_nat_rehash()
8013 if (bucketlens[1] != NULL) { in ipf_nat_rehash()
8014 KFREES(bucketlens[0], newsize * sizeof(u_int)); in ipf_nat_rehash()
8016 if (bucketlens[0] != NULL) { in ipf_nat_rehash()
[all …]
H A Dip_state.c5139 u_int *bucketlens; in ipf_state_rehash() local
5158 KMALLOCS(bucketlens, u_int *, newsize * sizeof(u_int)); in ipf_state_rehash()
5159 if (bucketlens == NULL) { in ipf_state_rehash()
5167 KFREES(bucketlens, newsize * sizeof(*bucketlens)); in ipf_state_rehash()
5178 bzero((char *)bucketlens, newsize * sizeof(u_int)); in ipf_state_rehash()
5198 softs->ipf_state_stats.iss_bucketlen = bucketlens; in ipf_state_rehash()