Home
last modified time | relevance | path

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

/netbsd/src/sys/external/bsd/ipf/netinet/
Dip_nat.c7908 u_int *bucketlens[2]; in ipf_nat_rehash() local
7924 bucketlens[0] = NULL; in ipf_nat_rehash()
7925 bucketlens[1] = NULL; in ipf_nat_rehash()
7942 KMALLOCS(bucketlens[0], u_int *, newsize * sizeof(u_int)); in ipf_nat_rehash()
7943 if (bucketlens[0] == NULL) { in ipf_nat_rehash()
7948 KMALLOCS(bucketlens[1], u_int *, newsize * sizeof(u_int)); in ipf_nat_rehash()
7949 if (bucketlens[1] == NULL) { in ipf_nat_rehash()
7963 bzero((char *)bucketlens[0], newsize * sizeof(u_int)); in ipf_nat_rehash()
7964 bzero((char *)bucketlens[1], newsize * sizeof(u_int)); in ipf_nat_rehash()
7986 softn->ipf_nat_stats.ns_side[0].ns_bucketlen = bucketlens[0]; in ipf_nat_rehash()
[all …]
Dip_state.c5151 u_int *bucketlens; in ipf_state_rehash() local
5170 KMALLOCS(bucketlens, u_int *, newsize * sizeof(u_int)); in ipf_state_rehash()
5171 if (bucketlens == NULL) { in ipf_state_rehash()
5179 KFREES(bucketlens, newsize * sizeof(*bucketlens)); in ipf_state_rehash()
5190 bzero((char *)bucketlens, newsize * sizeof(u_int)); in ipf_state_rehash()
5210 softs->ipf_state_stats.iss_bucketlen = bucketlens; in ipf_state_rehash()