Home
last modified time | relevance | path

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

/f-stack/freebsd/net/
H A Dif_ipsec.c105 #ifndef IPSEC_HASH_SIZE
106 #define IPSEC_HASH_SIZE (1 << 5) macro
130 FNV1_32_INIT) & (IPSEC_HASH_SIZE - 1)]); in ipsec_idhash()
144 return (&V_ipsec4_srchtbl[hval & (IPSEC_HASH_SIZE - 1)]); in ipsec_srchash()
151 return (&V_ipsec6_srchtbl[hval & (IPSEC_HASH_SIZE - 1)]); in ipsec_srchash()
261 hash = malloc(sizeof(struct ipsec_iflist) * IPSEC_HASH_SIZE, in ipsec_hashinit()
263 for (i = 0; i < IPSEC_HASH_SIZE; i++) in ipsec_hashinit()