Home
last modified time | relevance | path

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

/freebsd/sys/net/
H A Dif_ipsec.c104 #ifndef IPSEC_HASH_SIZE
105 #define IPSEC_HASH_SIZE (1 << 5) macro
129 FNV1_32_INIT) & (IPSEC_HASH_SIZE - 1)]); in ipsec_idhash()
143 return (&V_ipsec4_srchtbl[hval & (IPSEC_HASH_SIZE - 1)]); in ipsec_srchash()
150 return (&V_ipsec6_srchtbl[hval & (IPSEC_HASH_SIZE - 1)]); in ipsec_srchash()
260 hash = malloc(sizeof(struct ipsec_iflist) * IPSEC_HASH_SIZE, in ipsec_hashinit()
262 for (i = 0; i < IPSEC_HASH_SIZE; i++) in ipsec_hashinit()