Home
last modified time | relevance | path

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

/third_party/node/deps/ngtcp2/ngtcp2/lib/
Dngtcp2_acktr.c60 int ngtcp2_acktr_init(ngtcp2_acktr *acktr, ngtcp2_log *log, in ngtcp2_acktr_init() argument
64 ngtcp2_objalloc_acktr_entry_init(&acktr->objalloc, 32, mem); in ngtcp2_acktr_init()
66 rv = ngtcp2_ringbuf_init(&acktr->acks, 32, sizeof(ngtcp2_acktr_ack_entry), in ngtcp2_acktr_init()
72 ngtcp2_ksl_init(&acktr->ents, greater, sizeof(int64_t), mem); in ngtcp2_acktr_init()
74 acktr->log = log; in ngtcp2_acktr_init()
75 acktr->mem = mem; in ngtcp2_acktr_init()
76 acktr->flags = NGTCP2_ACKTR_FLAG_NONE; in ngtcp2_acktr_init()
77 acktr->first_unacked_ts = UINT64_MAX; in ngtcp2_acktr_init()
78 acktr->rx_npkt = 0; in ngtcp2_acktr_init()
83 void ngtcp2_acktr_free(ngtcp2_acktr *acktr) { in ngtcp2_acktr_free() argument
[all …]
Dngtcp2_acktr.h140 int ngtcp2_acktr_init(ngtcp2_acktr *acktr, ngtcp2_log *log,
147 void ngtcp2_acktr_free(ngtcp2_acktr *acktr);
161 int ngtcp2_acktr_add(ngtcp2_acktr *acktr, int64_t pkt_num, int active_ack,
169 void ngtcp2_acktr_forget(ngtcp2_acktr *acktr, ngtcp2_acktr_entry *ent);
176 ngtcp2_ksl_it ngtcp2_acktr_get(ngtcp2_acktr *acktr);
182 int ngtcp2_acktr_empty(ngtcp2_acktr *acktr);
191 ngtcp2_acktr_add_ack(ngtcp2_acktr *acktr, int64_t pkt_num, int64_t largest_ack);
199 void ngtcp2_acktr_recv_ack(ngtcp2_acktr *acktr, const ngtcp2_ack *fr);
204 void ngtcp2_acktr_commit_ack(ngtcp2_acktr *acktr);
210 int ngtcp2_acktr_require_active_ack(ngtcp2_acktr *acktr,
[all …]
Dngtcp2_conn.h336 ngtcp2_acktr acktr; member
748 int ngtcp2_conn_sched_ack(ngtcp2_conn *conn, ngtcp2_acktr *acktr,
Dngtcp2_conn.c657 rv = ngtcp2_acktr_init(&pktns->acktr, log, mem); in pktns_init()
754 ngtcp2_acktr_free(&pktns->acktr); in pktns_free()
1677 ngtcp2_acktr *acktr = &pktns->acktr; in conn_create_ack_frame() local
1686 if (acktr->flags & NGTCP2_ACKTR_FLAG_IMMEDIATE_ACK) { in conn_create_ack_frame()
1690 if (!ngtcp2_acktr_require_active_ack(acktr, ack_delay, ts)) { in conn_create_ack_frame()
1694 it = ngtcp2_acktr_get(acktr); in conn_create_ack_frame()
1696 ngtcp2_acktr_commit_ack(acktr); in conn_create_ack_frame()
1772 ngtcp2_acktr_forget(acktr, ngtcp2_ksl_it_get(&it)); in conn_create_ack_frame()
2360 !ngtcp2_acktr_empty(&conn->hs_pktns->acktr))) { in conn_should_pad_pkt()
2371 !ngtcp2_acktr_empty(&conn->hs_pktns->acktr))) { in conn_should_pad_pkt()
[all …]