Searched refs:cc_ack (Results 1 – 3 of 3) sorted by relevance
/dports/ftp/uftp/uftp-5.0/ |
H A D | server_transfer.c | 597 const struct cc_ack_h *cc_ack; in handle_cc_ack() local 602 cc_ack = (const struct cc_ack_h *)message; in handle_cc_ack() 604 if ((meslen < (cc_ack->hlen * 4U)) || in handle_cc_ack() 605 ((cc_ack->hlen * 4U) < sizeof(struct cc_ack_h))) { in handle_cc_ack() 612 if (cc_ack->hlen * 4U > sizeof(struct cc_ack_h)) { in handle_cc_ack() 613 he = (const uint8_t *)cc_ack + sizeof(struct cc_ack_h); in handle_cc_ack() 617 if ((extlen > (cc_ack->hlen * 4U) - sizeof(struct cc_ack_h)) || in handle_cc_ack()
|
H A D | client_transfer.c | 560 struct cc_ack_h *cc_ack; in send_cc_ack() local 567 cc_ack = (struct cc_ack_h *)(buf + sizeof(struct uftp_h)); in send_cc_ack() 568 tfmcc = (struct tfmcc_ack_info_he *)((unsigned char *)cc_ack + in send_cc_ack() 572 cc_ack->func = CC_ACK; in send_cc_ack() 573 cc_ack->hlen = in send_cc_ack() 577 payloadlen = cc_ack->hlen * 4; in send_cc_ack()
|
/dports/net/libngtcp2/ngtcp2-224bd62/lib/ |
H A D | ngtcp2_rtb.c | 822 ngtcp2_cc_ack cc_ack = {0}; in ngtcp2_rtb_recv_ack() local 825 cc_ack.prior_bytes_in_flight = cstat->bytes_in_flight; in ngtcp2_rtb_recv_ack() 928 assert(cc_ack.pkt_delivered <= ent->rst.delivered); in ngtcp2_rtb_recv_ack() 930 cc_ack.bytes_delivered += ent->pktlen; in ngtcp2_rtb_recv_ack() 931 cc_ack.pkt_delivered = ent->rst.delivered; in ngtcp2_rtb_recv_ack() 957 ngtcp2_rst_on_ack_recv(rtb->rst, cstat, cc_ack.pkt_delivered); in ngtcp2_rtb_recv_ack() 960 rv = rtb_detect_lost_pkt(rtb, &cc_ack.bytes_lost, conn, pktns, cstat, ts); in ngtcp2_rtb_recv_ack() 966 cc_ack.largest_acked_sent_ts = largest_acked_sent_ts; in ngtcp2_rtb_recv_ack() 967 cc->on_ack_recv(cc, cstat, &cc_ack, ts); in ngtcp2_rtb_recv_ack()
|