Home
last modified time | relevance | path

Searched refs:reason_len (Results 1 – 14 of 14) sorted by relevance

/openssl/ssl/quic/
H A Dquic_wire.c383 if (!WPACKET_quic_write_vlint(pkt, f->reason_len) in ossl_quic_wire_encode_frame_conn_close()
384 || !WPACKET_memcpy(pkt, f->reason, f->reason_len)) in ossl_quic_wire_encode_frame_conn_close()
859 uint64_t frame_type, reason_len; in ossl_quic_wire_decode_frame_conn_close() local
876 if (!PACKET_get_quic_vlint(pkt, &reason_len) in ossl_quic_wire_decode_frame_conn_close()
877 || reason_len > SIZE_MAX) in ossl_quic_wire_decode_frame_conn_close()
881 (size_t)reason_len)) in ossl_quic_wire_decode_frame_conn_close()
884 f->reason_len = (size_t)reason_len; in ossl_quic_wire_decode_frame_conn_close()
H A Dquic_channel.c2380 tcause.reason_len = strlen(tcause.reason); in ch_raise_version_neg_failure()
2636 tcause.reason_len = app_reason != NULL ? strlen(app_reason) : 0; in ossl_quic_channel_local_close()
2832 dst->reason_len = 0; in copy_tcause()
2834 if (src->reason != NULL && src->reason_len > 0) { in copy_tcause()
2835 size_t l = src->reason_len; in copy_tcause()
2850 dst->reason_len = l; in copy_tcause()
2896 f.reason_len = ch->terminate_cause.reason_len; in ch_start_terminating()
2956 tcause.reason_len = f->reason_len; in ossl_quic_channel_on_remote_conn_close()
3153 tcause.reason_len = strlen(tcause.reason); in ossl_quic_channel_raise_net_error()
3244 tcause.reason_len = strlen(reason); in ossl_quic_channel_raise_protocol_error_loc()
H A Dquic_txp.c1898 pf->reason_len = 0; in txp_generate_pre_token()
3075 size_t reason_len = f->reason_len; in ossl_quic_tx_packetiser_schedule_conn_close() local
3085 if (reason_len > max_reason_len) in ossl_quic_tx_packetiser_schedule_conn_close()
3086 reason_len = max_reason_len; in ossl_quic_tx_packetiser_schedule_conn_close()
3088 if (reason_len > 0) { in ossl_quic_tx_packetiser_schedule_conn_close()
3089 reason = OPENSSL_memdup(f->reason, reason_len); in ossl_quic_tx_packetiser_schedule_conn_close()
3096 txp->conn_close_frame.reason_len = reason_len; in ossl_quic_tx_packetiser_schedule_conn_close()
H A Dqlog_event_helpers.c145 QLOG_STR_LEN("reason", tcause->reason, tcause->reason_len); in ossl_qlog_event_connectivity_connection_closed()
400 QLOG_STR_LEN("reason", f.reason, f.reason_len); in log_frame_actual()
H A Dquic_trace.c389 put_str(bio, frame_data.reason, frame_data.reason_len); in frame_conn_closed()
H A Dquic_impl.c3877 info->reason_len = tc->reason_len; in ossl_quic_get_conn_close_info()
/openssl/doc/man3/
H A DSSL_get_conn_close_info.pod40 size_t reason_len;
103 given in I<reason_len>. While, if non-NULL, OpenSSL guarantees that this string
106 of I<reason_len> is recommended.
/openssl/include/internal/
H A Dquic_channel.h158 size_t reason_len; member
H A Dquic_wire.h223 size_t reason_len; /* Length of reason in bytes */ member
/openssl/test/
H A Dquic_wire_test.c996 if (!TEST_size_t_eq(f.reason_len, 18)) in encode_case_20_dec()
999 if (!TEST_mem_eq(f.reason, f.reason_len, in encode_case_20_dec()
1000 encode_case_20_f.reason, encode_case_20_f.reason_len)) in encode_case_20_dec()
H A Dquic_txp_test.c1087 f.reason_len = strlen(f.reason); in gen_conn_close()
1101 || !TEST_mem_eq(h->frame.conn_close.reason, h->frame.conn_close.reason_len, in check_14()
H A Dquic_multistream_test.c4428 if (!TEST_size_t_ge(tc->reason_len, 50) in check_shutdown_reason()
4429 || !TEST_mem_eq(long_reason, tc->reason_len, in check_shutdown_reason()
4430 tc->reason, tc->reason_len)) in check_shutdown_reason()
/openssl/doc/designs/quic-design/
H A Dquic-api.md840 size_t reason_len;
857 peer, may also contain zero bytes. `info->reason_len` is the true length of the
/openssl/include/openssl/
H A Dssl.h.in2373 size_t reason_len; member

Completed in 99 milliseconds