Home
last modified time | relevance | path

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

/xnu-11417.101.15/bsd/net/
H A Dif_bridge.c337 #define BRIDGE_RTHASH_MASK(sc) ((sc)->sc_rthash_size - 1)
553 struct _bridge_rtnode_list * __counted_by(sc_rthash_size) sc_rthash; /* our forwarding table */
556 uint32_t sc_rthash_size; /* size of the hash table */ member
6602 sc->sc_rthash_size);
6803 sc->sc_rthash_size = BRIDGE_RTHASH_SIZE;
6805 for (i = 0; i < sc->sc_rthash_size; i++) {
6837 if (sc->sc_brtcnt < sc->sc_rthash_size * 4) {
6845 new_rthash_size = sc->sc_rthash_size * 2;
6868 old_rthash_size = sc->sc_rthash_size;
6870 sc->sc_rthash_size = new_rthash_size;
[all …]