Home
last modified time | relevance | path

Searched refs:reasonlen (Results 1 - 8 of 8) sorted by relevance

/third_party/node/deps/ngtcp2/ngtcp2/lib/
H A Dngtcp2_pkt.c871 size_t reasonlen; in ngtcp2_pkt_decode_connection_close_frame() local
915 reasonlen = (size_t)vi; in ngtcp2_pkt_decode_connection_close_frame()
916 len += reasonlen; in ngtcp2_pkt_decode_connection_close_frame()
929 dest->reasonlen = reasonlen; in ngtcp2_pkt_decode_connection_close_frame()
931 if (reasonlen == 0) { in ngtcp2_pkt_decode_connection_close_frame()
935 p += reasonlen; in ngtcp2_pkt_decode_connection_close_frame()
1719 ngtcp2_put_varint_len(fr->reasonlen) + fr->reasonlen; in ngtcp2_pkt_encode_connection_close_frame()
1733 p = ngtcp2_put_varint(p, fr->reasonlen); in ngtcp2_pkt_encode_connection_close_frame()
[all...]
H A Dngtcp2_log.c293 size_t reasonlen = ngtcp2_min(sizeof(reason) - 1, fr->reasonlen); in log_fr_connection_close() local
303 fr->error_code, fr->frame_type, fr->reasonlen, in log_fr_connection_close()
304 ngtcp2_encode_printable_ascii(reason, fr->reason, reasonlen)); in log_fr_connection_close()
H A Dngtcp2_conn.h1042 size_t reasonlen, ngtcp2_tstamp ts);
1088 size_t reasonlen, ngtcp2_tstamp ts);
H A Dngtcp2_conn.c5830 if (!fr->reasonlen) { in conn_recv_connection_close()
5831 ccerr->reasonlen = 0; in conn_recv_connection_close()
5844 ccerr->reasonlen = in conn_recv_connection_close()
5845 ngtcp2_min(fr->reasonlen, NGTCP2_CONNECTION_CLOSE_ERROR_MAX_REASONLEN); in conn_recv_connection_close()
5846 ngtcp2_cpymem(ccerr->reason, fr->reason, ccerr->reasonlen); in conn_recv_connection_close()
11916 size_t reasonlen, ngtcp2_tstamp ts) { in conn_write_connection_close()
11926 fr.connection_close.reasonlen = reasonlen; in conn_write_connection_close()
11985 size_t reasonlen, ngtcp2_tstamp ts) { in ngtcp2_conn_write_connection_close_pkt()
12038 error_code, reason, reasonlen, t in ngtcp2_conn_write_connection_close_pkt()
11913 conn_write_connection_close(ngtcp2_conn *conn, ngtcp2_pkt_info *pi, uint8_t *dest, size_t destlen, uint8_t pkt_type, uint64_t error_code, const uint8_t *reason, size_t reasonlen, ngtcp2_tstamp ts) conn_write_connection_close() argument
11982 ngtcp2_conn_write_connection_close_pkt( ngtcp2_conn *conn, ngtcp2_path *path, ngtcp2_pkt_info *pi, uint8_t *dest, size_t destlen, uint64_t error_code, const uint8_t *reason, size_t reasonlen, ngtcp2_tstamp ts) ngtcp2_conn_write_connection_close_pkt() argument
12048 ngtcp2_conn_write_application_close_pkt( ngtcp2_conn *conn, ngtcp2_path *path, ngtcp2_pkt_info *pi, uint8_t *dest, size_t destlen, uint64_t app_error_code, const uint8_t *reason, size_t reasonlen, ngtcp2_tstamp ts) ngtcp2_conn_write_application_close_pkt() argument
12139 connection_close_error_init(ngtcp2_connection_close_error *ccerr, ngtcp2_connection_close_error_code_type type, uint64_t error_code, const uint8_t *reason, size_t reasonlen) connection_close_error_init() argument
12157 ngtcp2_connection_close_error_set_transport_error( ngtcp2_connection_close_error *ccerr, uint64_t error_code, const uint8_t *reason, size_t reasonlen) ngtcp2_connection_close_error_set_transport_error() argument
12165 ngtcp2_connection_close_error_set_transport_error_liberr( ngtcp2_connection_close_error *ccerr, int liberr, const uint8_t *reason, size_t reasonlen) ngtcp2_connection_close_error_set_transport_error_liberr() argument
12189 ngtcp2_connection_close_error_set_transport_error_tls_alert( ngtcp2_connection_close_error *ccerr, uint8_t tls_alert, const uint8_t *reason, size_t reasonlen) ngtcp2_connection_close_error_set_transport_error_tls_alert() argument
12196 ngtcp2_connection_close_error_set_application_error( ngtcp2_connection_close_error *ccerr, uint64_t error_code, const uint8_t *reason, size_t reasonlen) ngtcp2_connection_close_error_set_application_error() argument
13422 ngtcp2_pkt_write_connection_close( uint8_t *dest, size_t destlen, uint32_t version, const ngtcp2_cid *dcid, const ngtcp2_cid *scid, uint64_t error_code, const uint8_t *reason, size_t reasonlen, ngtcp2_encrypt encrypt, const ngtcp2_crypto_aead *aead, const ngtcp2_crypto_aead_ctx *aead_ctx, const uint8_t *iv, ngtcp2_hp_mask hp_mask, const ngtcp2_crypto_cipher *hp, const ngtcp2_crypto_cipher_ctx *hp_ctx) ngtcp2_pkt_write_connection_close() argument
[all...]
H A Dngtcp2_pkt.h236 size_t reasonlen; member
/third_party/node/deps/ngtcp2/ngtcp2/lib/includes/ngtcp2/
H A Dngtcp2.h3588 * the optional |reason| of length |reasonlen| to the buffer pointed
3607 size_t reasonlen, ngtcp2_encrypt encrypt, const ngtcp2_crypto_aead *aead,
5184 * :member:`reasonlen` is the length of data pointed by
5187 size_t reasonlen; member
5203 * - :member:`reasonlen <ngtcp2_connection_close_error.reasonlen>` = 0
5216 * |reason| is the reason phrase of length |reasonlen|. This function
5221 const uint8_t *reason, size_t reasonlen);
5248 * reason phrase of length |reasonlen|. This function does not make a
5253 size_t reasonlen);
[all...]
/third_party/node/deps/ngtcp2/ngtcp2/crypto/includes/ngtcp2/
H A Dngtcp2_crypto.h730 * optional |reason| of length |reasonlen| to the buffer pointed by
747 size_t reasonlen);
/third_party/node/deps/ngtcp2/ngtcp2/crypto/
H A Dshared.c1223 size_t reasonlen) { in ngtcp2_crypto_write_connection_close()
1261 dest, destlen, version, dcid, scid, error_code, reason, reasonlen, in ngtcp2_crypto_write_connection_close()
1220 ngtcp2_crypto_write_connection_close( uint8_t *dest, size_t destlen, uint32_t version, const ngtcp2_cid *dcid, const ngtcp2_cid *scid, uint64_t error_code, const uint8_t *reason, size_t reasonlen) ngtcp2_crypto_write_connection_close() argument

Completed in 30 milliseconds