Home
last modified time | relevance | path

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

/xnu-10063.101.15/bsd/netinet/
H A Dtcp_cache.c686 struct tcp_heuristic *tpheur = NULL; in tcp_getheuristic_with_lock() local
698 SLIST_FOREACH(tpheur, &head->tcp_heuristics, list) { in tcp_getheuristic_with_lock()
699 if (memcmp(&tpheur->th_key, &key, sizeof(key)) == 0) { in tcp_getheuristic_with_lock()
707 if ((tpheur == NULL) && create) { in tcp_getheuristic_with_lock()
713 SLIST_FOREACH(tpheur, &head->tcp_heuristics, list) { in tcp_getheuristic_with_lock()
714 uint32_t age = tcp_now - tpheur->th_last_access; in tcp_getheuristic_with_lock()
717 oldest_heur = tpheur; in tcp_getheuristic_with_lock()
722 tpheur = oldest_heur; in tcp_getheuristic_with_lock()
725 bzero(tpheur->th_val_start, in tcp_getheuristic_with_lock()
726 tpheur->th_val_end - tpheur->th_val_start); in tcp_getheuristic_with_lock()
[all …]