Searched refs:ngtcp2_buf_left (Results 1 – 5 of 5) sorted by relevance
51 if (ngtcp2_buf_left(buf) < cc->aead.max_overhead) { in ngtcp2_ppe_encode_hd()62 buf->last, ngtcp2_buf_left(buf) - cc->aead.max_overhead, hd); in ngtcp2_ppe_encode_hd()66 buf->last, ngtcp2_buf_left(buf) - cc->aead.max_overhead, hd); in ngtcp2_ppe_encode_hd()89 if (ngtcp2_buf_left(buf) < cc->aead.max_overhead) { in ngtcp2_ppe_encode_frame()94 buf->last, ngtcp2_buf_left(buf) - cc->aead.max_overhead, fr); in ngtcp2_ppe_encode_frame()164 if (ngtcp2_buf_left(&ppe->buf) < cc->aead.max_overhead) { in ngtcp2_ppe_left()168 return ngtcp2_buf_left(&ppe->buf) - cc->aead.max_overhead; in ngtcp2_ppe_left()182 assert(ngtcp2_buf_left(buf) >= cc->aead.max_overhead); in ngtcp2_ppe_padding()184 len = ngtcp2_buf_left(buf) - cc->aead.max_overhead; in ngtcp2_ppe_padding()229 return ngtcp2_buf_left(buf) >= (4 - ppe->pkt_numlen) + NGTCP2_HP_SAMPLELEN; in ngtcp2_ppe_ensure_hp_sample()
717 if (ngtcp2_buf_left(&qlog->buf) < in qlog_pkt_write_end()750 if (ngtcp2_buf_left(&qlog->buf) < NGTCP2_QLOG_PADDING_FRAME_OVERHEAD + 1) { in ngtcp2_qlog_write_frame()756 if (ngtcp2_buf_left(&qlog->buf) < NGTCP2_QLOG_PING_FRAME_OVERHEAD + 1) { in ngtcp2_qlog_write_frame()763 if (ngtcp2_buf_left(&qlog->buf) < in ngtcp2_qlog_write_frame()774 if (ngtcp2_buf_left(&qlog->buf) < in ngtcp2_qlog_write_frame()781 if (ngtcp2_buf_left(&qlog->buf) < in ngtcp2_qlog_write_frame()788 if (ngtcp2_buf_left(&qlog->buf) < NGTCP2_QLOG_CRYPTO_FRAME_OVERHEAD + 1) { in ngtcp2_qlog_write_frame()794 if (ngtcp2_buf_left(&qlog->buf) < NGTCP2_QLOG_NEW_TOKEN_FRAME_OVERHEAD + in ngtcp2_qlog_write_frame()801 if (ngtcp2_buf_left(&qlog->buf) < NGTCP2_QLOG_STREAM_FRAME_OVERHEAD + 1) { in ngtcp2_qlog_write_frame()807 if (ngtcp2_buf_left(&qlog->buf) < NGTCP2_QLOG_MAX_DATA_FRAME_OVERHEAD + 1) { in ngtcp2_qlog_write_frame()[all …]
65 #define ngtcp2_buf_left(BUF) (size_t)((BUF)->end - (BUF)->last) macro
67 if (ngtcp2_buf_left(&balloc->buf) < n) { in ngtcp2_balloc_get()
12791 if (ngtcp2_buf_left(&(*pbufchain)->buf) < datalen) { in conn_buffer_crypto_data()