Home
last modified time | relevance | path

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

/xnu-8019.80.24/bsd/netinet/ !
H A Dtcp_cache.c690 struct tcp_heuristic *tpheur = NULL; in tcp_getheuristic_with_lock() local
702 SLIST_FOREACH(tpheur, &head->tcp_heuristics, list) { in tcp_getheuristic_with_lock()
703 if (memcmp(&tpheur->th_key, &key, sizeof(key)) == 0) { in tcp_getheuristic_with_lock()
711 if ((tpheur == NULL) && create) { in tcp_getheuristic_with_lock()
717 SLIST_FOREACH(tpheur, &head->tcp_heuristics, list) { in tcp_getheuristic_with_lock()
718 uint32_t age = tcp_now - tpheur->th_last_access; in tcp_getheuristic_with_lock()
721 oldest_heur = tpheur; in tcp_getheuristic_with_lock()
726 tpheur = oldest_heur; in tcp_getheuristic_with_lock()
729 bzero(tpheur->th_val_start, in tcp_getheuristic_with_lock()
730 tpheur->th_val_end - tpheur->th_val_start); in tcp_getheuristic_with_lock()
[all …]