Home
last modified time | relevance | path

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

/third_party/node/deps/ngtcp2/ngtcp2/lib/
Dngtcp2_idtr.c29 void ngtcp2_idtr_init(ngtcp2_idtr *idtr, int server, const ngtcp2_mem *mem) { in ngtcp2_idtr_init() argument
30 ngtcp2_gaptr_init(&idtr->gap, mem); in ngtcp2_idtr_init()
32 idtr->server = server; in ngtcp2_idtr_init()
35 void ngtcp2_idtr_free(ngtcp2_idtr *idtr) { in ngtcp2_idtr_free() argument
36 if (idtr == NULL) { in ngtcp2_idtr_free()
40 ngtcp2_gaptr_free(&idtr->gap); in ngtcp2_idtr_free()
51 int ngtcp2_idtr_open(ngtcp2_idtr *idtr, int64_t stream_id) { in ngtcp2_idtr_open() argument
54 assert((idtr->server && (stream_id % 2)) || in ngtcp2_idtr_open()
55 (!idtr->server && (stream_id % 2)) == 0); in ngtcp2_idtr_open()
59 if (ngtcp2_gaptr_is_pushed(&idtr->gap, q, 1)) { in ngtcp2_idtr_open()
[all …]
Dngtcp2_idtr.h55 void ngtcp2_idtr_init(ngtcp2_idtr *idtr, int server, const ngtcp2_mem *mem);
60 void ngtcp2_idtr_free(ngtcp2_idtr *idtr);
73 int ngtcp2_idtr_open(ngtcp2_idtr *idtr, int64_t stream_id);
80 int ngtcp2_idtr_is_open(ngtcp2_idtr *idtr, int64_t stream_id);
87 uint64_t ngtcp2_idtr_first_gap(ngtcp2_idtr *idtr);
Dngtcp2_conn.h545 ngtcp2_idtr idtr; member
558 ngtcp2_idtr idtr; member
Dngtcp2_conn.c1120 ngtcp2_idtr_init(&(*pconn)->remote.bidi.idtr, !server, mem); in conn_new()
1122 ngtcp2_idtr_init(&(*pconn)->remote.uni.idtr, !server, mem); in conn_new()
1372 ngtcp2_idtr_free(&(*pconn)->remote.uni.idtr); in conn_new()
1373 ngtcp2_idtr_free(&(*pconn)->remote.bidi.idtr); in conn_new()
1587 ngtcp2_idtr_free(&conn->remote.uni.idtr); in ngtcp2_conn_del()
1588 ngtcp2_idtr_free(&conn->remote.bidi.idtr); in ngtcp2_conn_del()
5497 ngtcp2_idtr *idtr; in conn_recv_max_stream_data() local
5512 idtr = &conn->remote.bidi.idtr; in conn_recv_max_stream_data()
5518 idtr = &conn->remote.uni.idtr; in conn_recv_max_stream_data()
5528 rv = ngtcp2_idtr_open(idtr, fr->stream_id); in conn_recv_max_stream_data()
[all …]
/third_party/node/deps/ngtcp2/nghttp3/lib/
Dnghttp3_idtr.c30 void nghttp3_idtr_init(nghttp3_idtr *idtr, int server, const nghttp3_mem *mem) { in nghttp3_idtr_init() argument
31 nghttp3_gaptr_init(&idtr->gap, mem); in nghttp3_idtr_init()
33 idtr->server = server; in nghttp3_idtr_init()
36 void nghttp3_idtr_free(nghttp3_idtr *idtr) { in nghttp3_idtr_free() argument
37 if (idtr == NULL) { in nghttp3_idtr_free()
41 nghttp3_gaptr_free(&idtr->gap); in nghttp3_idtr_free()
52 int nghttp3_idtr_open(nghttp3_idtr *idtr, int64_t stream_id) { in nghttp3_idtr_open() argument
55 assert((idtr->server && (stream_id % 2)) || in nghttp3_idtr_open()
56 (!idtr->server && (stream_id % 2)) == 0); in nghttp3_idtr_open()
60 if (nghttp3_gaptr_is_pushed(&idtr->gap, q, 1)) { in nghttp3_idtr_open()
[all …]
Dnghttp3_idtr.h56 void nghttp3_idtr_init(nghttp3_idtr *idtr, int server, const nghttp3_mem *mem);
61 void nghttp3_idtr_free(nghttp3_idtr *idtr);
74 int nghttp3_idtr_open(nghttp3_idtr *idtr, int64_t stream_id);
81 int nghttp3_idtr_is_open(nghttp3_idtr *idtr, int64_t stream_id);
88 uint64_t nghttp3_idtr_first_gap(nghttp3_idtr *idtr);
Dnghttp3_conn.h107 nghttp3_idtr idtr; member
Dnghttp3_conn.c257 nghttp3_idtr_init(&conn->remote.bidi.idtr, server, mem); in conn_new()
342 nghttp3_idtr_free(&conn->remote.bidi.idtr); in nghttp3_conn_del()
365 rv = nghttp3_idtr_open(&conn->remote.bidi.idtr, stream_id); in conn_bidi_idtr_open()
370 if (nghttp3_ksl_len(&conn->remote.bidi.idtr.gap.gap) > 32) { in conn_bidi_idtr_open()
371 nghttp3_gaptr_drop_first_gap(&conn->remote.bidi.idtr.gap); in conn_bidi_idtr_open()
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h23645 struct vmcb_seg idtr; member