Searched refs:hc_entry (Results 1 – 1 of 1) sorted by relevance
315 tcp_hc_cmp(struct hc_metrics *hc_entry, const struct in_conninfo *inc) in tcp_hc_cmp() argument320 if (memcmp(&inc->inc6_faddr, &hc_entry->ip6, in tcp_hc_cmp()324 if (memcmp(&inc->inc_faddr, &hc_entry->ip4, in tcp_hc_cmp()340 struct hc_metrics *hc_entry; in tcp_hc_lookup() local350 CK_SLIST_FOREACH(hc_entry, &hc_head->hch_bucket, hc_q) in tcp_hc_lookup()351 if (tcp_hc_cmp(hc_entry, inc)) in tcp_hc_lookup()354 if (hc_entry != NULL) { in tcp_hc_lookup()355 if (atomic_load_int(&hc_entry->hc_expire) != in tcp_hc_lookup()357 atomic_store_int(&hc_entry->hc_expire, in tcp_hc_lookup()360 hc_entry->hc_hits++; in tcp_hc_lookup()[all …]