Lines Matching refs:hcml
565 tcp_hc_update(struct in_conninfo *inc, struct hc_metrics_lite *hcml)
581 if (hcml->rmx_rtt != 0) {
583 hc_entry->rmx_rtt = hcml->rmx_rtt;
586 (uint64_t)hcml->rmx_rtt) / 2;
589 if (hcml->rmx_rttvar != 0) {
591 hc_entry->rmx_rttvar = hcml->rmx_rttvar;
594 (uint64_t)hcml->rmx_rttvar) / 2;
597 if (hcml->rmx_ssthresh != 0) {
599 hc_entry->rmx_ssthresh = hcml->rmx_ssthresh;
602 (hc_entry->rmx_ssthresh + hcml->rmx_ssthresh) / 2;
605 if (hcml->rmx_cwnd != 0) {
607 hc_entry->rmx_cwnd = hcml->rmx_cwnd;
610 (uint64_t)hcml->rmx_cwnd) / 2;
613 if (hcml->rmx_sendpipe != 0) {
615 hc_entry->rmx_sendpipe = hcml->rmx_sendpipe;
619 (uint64_t)hcml->rmx_sendpipe) /2;
622 if (hcml->rmx_recvpipe != 0) {
624 hc_entry->rmx_recvpipe = hcml->rmx_recvpipe;
628 (uint64_t)hcml->rmx_recvpipe) /2;