Home
last modified time | relevance | path

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

/xnu-11215.1.10/bsd/net/
H A Dif_bridge.c337 #define BRIDGE_RTHASH_MASK(sc) ((sc)->sc_rthash_size - 1)
547 struct _bridge_rtnode_list * __counted_by(sc_rthash_size) sc_rthash; /* our forwarding table */
550 uint32_t sc_rthash_size; /* size of the hash table */ member
7063 sc->sc_rthash_size);
7263 sc->sc_rthash_size = BRIDGE_RTHASH_SIZE;
7265 for (i = 0; i < sc->sc_rthash_size; i++) {
7297 if (sc->sc_brtcnt < sc->sc_rthash_size * 4) {
7305 new_rthash_size = sc->sc_rthash_size * 2;
7328 old_rthash_size = sc->sc_rthash_size;
7330 sc->sc_rthash_size = new_rthash_size;
[all …]