Searched refs:ngtcp2_struct_of (Results 1 - 6 of 6) sorted by relevance
/third_party/node/deps/ngtcp2/ngtcp2/lib/ |
H A D | ngtcp2_cc.c | 94 ngtcp2_reno_cc *reno_cc = ngtcp2_struct_of(cc->ccb, ngtcp2_reno_cc, ccb); in ngtcp2_cc_reno_cc_free() 109 ngtcp2_reno_cc *cc = ngtcp2_struct_of(ccx->ccb, ngtcp2_reno_cc, ccb); in ngtcp2_cc_reno_cc_on_pkt_acked() 138 ngtcp2_reno_cc *cc = ngtcp2_struct_of(ccx->ccb, ngtcp2_reno_cc, ccb); in ngtcp2_cc_reno_cc_congestion_event() 170 ngtcp2_reno_cc *cc = ngtcp2_struct_of(ccx->ccb, ngtcp2_reno_cc, ccb); in ngtcp2_cc_reno_cc_on_ack_recv() 194 ngtcp2_reno_cc *cc = ngtcp2_struct_of(ccx->ccb, ngtcp2_reno_cc, ccb); in ngtcp2_cc_reno_cc_reset() 257 ngtcp2_cubic_cc *cubic_cc = ngtcp2_struct_of(cc->ccb, ngtcp2_cubic_cc, ccb); in ngtcp2_cc_cubic_cc_free() 309 ngtcp2_cubic_cc *cc = ngtcp2_struct_of(ccx->ccb, ngtcp2_cubic_cc, ccb); in ngtcp2_cc_cubic_cc_on_pkt_acked() 444 ngtcp2_cubic_cc *cc = ngtcp2_struct_of(ccx->ccb, ngtcp2_cubic_cc, ccb); in ngtcp2_cc_cubic_cc_congestion_event() 483 ngtcp2_cubic_cc *cc = ngtcp2_struct_of(ccx->ccb, ngtcp2_cubic_cc, ccb); in ngtcp2_cc_cubic_cc_on_spurious_congestion() 527 ngtcp2_cubic_cc *cc = ngtcp2_struct_of(cc in ngtcp2_cc_cubic_cc_on_ack_recv() [all...] |
H A D | ngtcp2_objalloc.h | 91 return ngtcp2_struct_of(oplent, TYPE, OPLENTFIELD); \ 109 return ngtcp2_struct_of(oplent, TYPE, OPLENTFIELD); \
|
H A D | ngtcp2_bbr.c | 143 ngtcp2_bbr_cc *bbr_cc = ngtcp2_struct_of(cc->ccb, ngtcp2_bbr_cc, ccb); in ngtcp2_cc_bbr_cc_free() 166 ngtcp2_bbr_cc *cc = ngtcp2_struct_of(ccx->ccb, ngtcp2_bbr_cc, ccb); in ngtcp2_cc_bbr_cc_congestion_event() 179 ngtcp2_bbr_cc *cc = ngtcp2_struct_of(ccx->ccb, ngtcp2_bbr_cc, ccb); in ngtcp2_cc_bbr_cc_on_spurious_congestion() 195 ngtcp2_bbr_cc *cc = ngtcp2_struct_of(ccx->ccb, ngtcp2_bbr_cc, ccb); in ngtcp2_cc_bbr_cc_on_persistent_congestion() 209 ngtcp2_bbr_cc *bbr_cc = ngtcp2_struct_of(ccx->ccb, ngtcp2_bbr_cc, ccb); in ngtcp2_cc_bbr_cc_on_ack_recv() 216 ngtcp2_bbr_cc *bbr_cc = ngtcp2_struct_of(ccx->ccb, ngtcp2_bbr_cc, ccb); in ngtcp2_cc_bbr_cc_on_pkt_sent() 231 ngtcp2_bbr_cc *bbr_cc = ngtcp2_struct_of(ccx->ccb, ngtcp2_bbr_cc, ccb); in ngtcp2_cc_bbr_cc_reset()
|
H A D | ngtcp2_macro.h | 39 #define ngtcp2_struct_of(ptr, type, member) \ macro
|
H A D | ngtcp2_bbr2.c | 1360 ngtcp2_bbr2_cc *bbr = ngtcp2_struct_of(ccx->ccb, ngtcp2_bbr2_cc, ccb); in bbr2_cc_on_pkt_lost() 1367 ngtcp2_bbr2_cc *bbr = ngtcp2_struct_of(ccx->ccb, ngtcp2_bbr2_cc, ccb); in bbr2_cc_congestion_event() 1381 ngtcp2_bbr2_cc *bbr = ngtcp2_struct_of(ccx->ccb, ngtcp2_bbr2_cc, ccb); in bbr2_cc_on_spurious_congestion() 1402 ngtcp2_bbr2_cc *bbr = ngtcp2_struct_of(ccx->ccb, ngtcp2_bbr2_cc, ccb); in bbr2_cc_on_persistent_congestion() 1418 ngtcp2_bbr2_cc *bbr = ngtcp2_struct_of(ccx->ccb, ngtcp2_bbr2_cc, ccb); in bbr2_cc_on_ack_recv() 1425 ngtcp2_bbr2_cc *bbr = ngtcp2_struct_of(ccx->ccb, ngtcp2_bbr2_cc, ccb); in bbr2_cc_on_pkt_sent() 1439 ngtcp2_bbr2_cc *bbr = ngtcp2_struct_of(ccx->ccb, ngtcp2_bbr2_cc, ccb); in bbr2_cc_reset() 1482 ngtcp2_bbr2_cc *bbr = ngtcp2_struct_of(cc->ccb, ngtcp2_bbr2_cc, ccb); in ngtcp2_cc_bbr2_cc_free()
|
H A D | ngtcp2_conn.c | 700 ngtcp2_strm *ls = ngtcp2_struct_of(lhs, ngtcp2_strm, pe); in cycle_less() 701 ngtcp2_strm *rs = ngtcp2_struct_of(rhs, ngtcp2_strm, pe); in cycle_less() 794 const ngtcp2_scid *a = ngtcp2_struct_of(lhs, ngtcp2_scid, pe); in retired_ts_less() 795 const ngtcp2_scid *b = ngtcp2_struct_of(rhs, ngtcp2_scid, pe); in retired_ts_less() 3369 scid = ngtcp2_struct_of(ngtcp2_pq_top(&conn->scid.used), ngtcp2_scid, pe); in conn_remove_retired_connection_id() 5204 strm = ngtcp2_struct_of(ngtcp2_pq_top(&conn->tx.strmq), ngtcp2_strm, pe); in conn_tx_strmq_first_cycle() 5215 strm = ngtcp2_struct_of(ngtcp2_pq_top(&conn->tx.strmq), ngtcp2_strm, pe); in ngtcp2_conn_tx_strmq_first_cycle() 10803 scid = ngtcp2_struct_of(ngtcp2_pq_top(&conn->scid.used), ngtcp2_scid, pe); in ngtcp2_conn_internal_expiry() 12891 return ngtcp2_struct_of(ngtcp2_pq_top(&conn->tx.strmq), ngtcp2_strm, pe); in ngtcp2_conn_tx_strmq_top()
|
Completed in 20 milliseconds