Home
last modified time | relevance | path

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

/freebsd/sys/netinet/
H A Dtcp_hostcache.c440 struct hc_metrics_lite hcml = { .hc_mtu = mtu }; in tcp_hc_updatemtu() local
442 return (tcp_hc_update(inc, &hcml)); in tcp_hc_updatemtu()
450 tcp_hc_update(const struct in_conninfo *inc, struct hc_metrics_lite *hcml) in tcp_hc_update() argument
547 if (hcml->hc_mtu != 0) { in tcp_hc_update()
548 atomic_store_32(&hc_entry->hc_mtu, hcml->hc_mtu); in tcp_hc_update()
550 if (hcml->hc_rtt != 0) { in tcp_hc_update()
552 v = hcml->hc_rtt; in tcp_hc_update()
555 (uint64_t)hcml->hc_rtt) / 2; in tcp_hc_update()
559 if (hcml->hc_rttvar != 0) { in tcp_hc_update()
561 v = hcml->hc_rttvar; in tcp_hc_update()
[all …]