Searched refs:bucketlens (Results 1 – 2 of 2) sorted by relevance
| /netbsd/src/sys/external/bsd/ipf/netinet/ |
| D | ip_nat.c | 7908 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 …]
|
| D | ip_state.c | 5151 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()
|